|
@@ -697,6 +697,9 @@ static inline void __skb_queue_after(struct sk_buff_head *list,
|
|
|
__skb_insert(newsk, prev, prev->next, list);
|
|
|
}
|
|
|
|
|
|
+extern void skb_append(struct sk_buff *old, struct sk_buff *newsk,
|
|
|
+ struct sk_buff_head *list);
|
|
|
+
|
|
|
/**
|
|
|
* __skb_queue_head - queue a buffer at the list head
|
|
|
* @list: list to use
|
|
@@ -738,15 +741,6 @@ static inline void __skb_queue_tail(struct sk_buff_head *list,
|
|
|
next->prev = prev->next = newsk;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Place a packet after a given packet in a list.
|
|
|
- */
|
|
|
-extern void skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list);
|
|
|
-static inline void __skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)
|
|
|
-{
|
|
|
- __skb_insert(newsk, old, old->next, list);
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* remove sk_buff from list. _Must_ be called atomically, and with
|
|
|
* the list known..
|