]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:18:52 +0000 (09:18 -0800)
commitb5810b8da2248adc73a1bf3def752d99beb87cca
tree2bb85e2c49277d56f02b9ac4e68305a99a2681a5
parent316899aceab5510d296f9437e410401409e9ce19
sctp: jsctp_sf_eat_sack: fix jprobes function signature mismatch

[ Upstream commit 4cb9d6eaf85ecdd266a9a5c6d825c56ca9eefc14 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sctp/probe.c