sctp: allow others to use sctp_input_cb
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Wed, 13 Jul 2016 18:08:55 +0000 (15:08 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 01:10:13 +0000 (18:10 -0700)
commit9e238323799fb8c2add2b1de9a22edd4d4e51e30
treefebfad2fad236590e7d89da9ee47f020f3149e3b
parentce3a380dddd0cb16cb3d8d947b69657d7646c121
sctp: allow others to use sctp_input_cb

We process input path in other files too and having access to it is
nice, so move it to a header where it's shared.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/input.c