summaryrefslogtreecommitdiff
path: root/net/sctp/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/probe.c')
-rw-r--r--net/sctp/probe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/sctp/probe.c b/net/sctp/probe.c
index 4eaaaf68e5b7..261b7b9858a4 100644
--- a/net/sctp/probe.c
+++ b/net/sctp/probe.c
@@ -183,6 +183,13 @@ static __init int sctpprobe_init(void)
{
int ret = -ENOMEM;
+ /* Warning: if the function signature of sctp_sf_eat_sack_6_2,
+ * has been changed, you also have to change the signature of
+ * jsctp_sf_eat_sack, otherwise you end up right here!
+ */
+ BUILD_BUG_ON(__same_type(sctp_sf_eat_sack_6_2,
+ jsctp_sf_eat_sack) == 0);
+
init_waitqueue_head(&sctpw.wait);
spin_lock_init(&sctpw.lock);
if (kfifo_alloc(&sctpw.fifo, bufsize, GFP_KERNEL))