]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2012 01:14:39 +0000 (17:14 -0800)
commitbcfd75eb895f03889a891177d42fe7c161a73bc0
tree6941c8c9ad861f2ec9302cbabe7fe438e1c07517
parentb4422a7d97eeb1f92a616b9833bb4a6562708fec
sctp: jsctp_sf_eat_sack: fix jprobes function signature mismatch

Commit fc3cc5686 (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