mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
f5fff5dc8a
commit
43f59c8939
6 changed files with 9 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue