OSDN Git Service

sctp: Pass sk_buff_head explicitly to sctp_ulpq_tail_event().
authorDavid Miller <davem@davemloft.net>
Thu, 11 Apr 2019 22:02:07 +0000 (15:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2019 04:33:31 +0000 (21:33 -0700)
commit013b96ec64616b57fc631b304dfcecc5bc288f90
tree0b4e504f19d268f8003d58a82b9cbbf249d36d1d
parent178ca044aa60cb05102148b635cb82f6986451a3
sctp: Pass sk_buff_head explicitly to sctp_ulpq_tail_event().

Now the SKB list implementation assumption can be removed.

And now that we know that the list head is always non-NULL
we can remove the code blocks dealing with that as well.

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