diff options
author | David Miller <davem@davemloft.net> | 2019-04-11 18:02:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 00:33:31 -0400 |
commit | 013b96ec64616b57fc631b304dfcecc5bc288f90 (patch) | |
tree | 0b4e504f19d268f8003d58a82b9cbbf249d36d1d /include/net/sctp/ulpqueue.h | |
parent | 178ca044aa60cb05102148b635cb82f6986451a3 (diff) |
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>
Diffstat (limited to 'include/net/sctp/ulpqueue.h')
-rw-r--r-- | include/net/sctp/ulpqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/ulpqueue.h b/include/net/sctp/ulpqueue.h index bb0ecba3db2b..f4ac7117ff29 100644 --- a/include/net/sctp/ulpqueue.h +++ b/include/net/sctp/ulpqueue.h | |||
@@ -59,7 +59,7 @@ void sctp_ulpq_free(struct sctp_ulpq *); | |||
59 | int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); | 59 | int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); |
60 | 60 | ||
61 | /* Add a new event for propagation to the ULP. */ | 61 | /* Add a new event for propagation to the ULP. */ |
62 | int sctp_ulpq_tail_event(struct sctp_ulpq *, struct sctp_ulpevent *ev); | 62 | int sctp_ulpq_tail_event(struct sctp_ulpq *, struct sk_buff_head *skb_list); |
63 | 63 | ||
64 | /* Renege previously received chunks. */ | 64 | /* Renege previously received chunks. */ |
65 | void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); | 65 | void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); |