diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2016-07-13 20:08:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-14 03:10:13 +0200 |
commit | 9e238323799fb8c2add2b1de9a22edd4d4e51e30 (patch) | |
tree | febfad2fad236590e7d89da9ee47f020f3149e3b /net/sctp | |
parent | net: ethernet: bgmac: Remove redundant dev_err call in bgmac_probe() (diff) | |
download | linux-9e238323799fb8c2add2b1de9a22edd4d4e51e30.tar.xz linux-9e238323799fb8c2add2b1de9a22edd4d4e51e30.zip |
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>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/input.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 6f8e676d285e..7a327ff71f08 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -90,17 +90,6 @@ static inline int sctp_rcv_checksum(struct net *net, struct sk_buff *skb) return 0; } -struct sctp_input_cb { - union { - struct inet_skb_parm h4; -#if IS_ENABLED(CONFIG_IPV6) - struct inet6_skb_parm h6; -#endif - } header; - struct sctp_chunk *chunk; -}; -#define SCTP_INPUT_CB(__skb) ((struct sctp_input_cb *)&((__skb)->cb[0])) - /* * This is the routine which IP calls when receiving an SCTP packet. */ |