diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-22 06:28:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-22 06:28:51 +0200 |
commit | 43f59c89399fd76883a06c551f24794e98409432 (patch) | |
tree | 7ef8ac7047ea5e74c9d522d6438d03fb69a3ba67 /net/sctp/ulpqueue.c | |
parent | tcp: advertise MSS requested by user (diff) | |
download | linux-43f59c89399fd76883a06c551f24794e98409432.tar.xz linux-43f59c89399fd76883a06c551f24794e98409432.zip |
net: Remove __skb_insert() calls outside of skbuff internals.
This minor cleanup simplifies later changes which will convert
struct sk_buff and friends over to using struct list_head.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/sctp/ulpqueue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index 5061a26c5028..7b23803343cc 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c @@ -317,7 +317,7 @@ static void sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq, } /* Insert before pos. */ - __skb_insert(sctp_event2skb(event), pos->prev, pos, &ulpq->reasm); + __skb_queue_before(&ulpq->reasm, pos, sctp_event2skb(event)); } @@ -825,8 +825,7 @@ static void sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq, /* Insert before pos. */ - __skb_insert(sctp_event2skb(event), pos->prev, pos, &ulpq->lobby); - + __skb_queue_before(&ulpq->lobby, pos, sctp_event2skb(event)); } static struct sctp_ulpevent *sctp_ulpq_order(struct sctp_ulpq *ulpq, |