diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-22 08:28:51 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-22 08:28:51 +0400 |
commit | 43f59c89399fd76883a06c551f24794e98409432 (patch) | |
tree | 7ef8ac7047ea5e74c9d522d6438d03fb69a3ba67 /net/sctp/ulpqueue.c | |
parent | f5fff5dc8a7a3f395b0525c02ba92c95d42b7390 (diff) | |
download | linux-43f59c89399fd76883a06c551f24794e98409432.tar.xz |
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 'net/sctp/ulpqueue.c')
-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, |