sctp: jsctp_sf_eat_sack: fix jprobes function signature mismatch
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 15 Dec 2012 10:12:43 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2012 01:14:39 +0000 (17:14 -0800)
commit4cb9d6eaf85ecdd266a9a5c6d825c56ca9eefc14
tree6941c8c9ad861f2ec9302cbabe7fe438e1c07517
parentccb1c31a7a8744cd153a7d92b726a56b56ad61d3
sctp: jsctp_sf_eat_sack: fix jprobes function signature mismatch

Commit 24cb81a6a (sctp: Push struct net down into all of the
state machine functions) introduced the net structure into all
state machine functions, but jsctp_sf_eat_sack was not updated,
hence when SCTP association probing is enabled in the kernel,
any simple SCTP client/server program from userspace will panic
the kernel.

Cc: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/probe.c