aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 1f659e8c2b88..1fbab2ae613c 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -421,6 +421,7 @@ extern void skb_dma_unmap(struct device *dev, struct sk_buff *skb,
421#endif 421#endif
422 422
423extern void kfree_skb(struct sk_buff *skb); 423extern void kfree_skb(struct sk_buff *skb);
424extern void consume_skb(struct sk_buff *skb);
424extern void __kfree_skb(struct sk_buff *skb); 425extern void __kfree_skb(struct sk_buff *skb);
425extern struct sk_buff *__alloc_skb(unsigned int size, 426extern struct sk_buff *__alloc_skb(unsigned int size,
426 gfp_t priority, int fclone, int node); 427 gfp_t priority, int fclone, int node);
@@ -459,7 +460,8 @@ extern int skb_to_sgvec(struct sk_buff *skb,
459extern int skb_cow_data(struct sk_buff *skb, int tailbits, 460extern int skb_cow_data(struct sk_buff *skb, int tailbits,
460 struct sk_buff **trailer); 461 struct sk_buff **trailer);
461extern int skb_pad(struct sk_buff *skb, int pad); 462extern int skb_pad(struct sk_buff *skb, int pad);
462#define dev_kfree_skb(a) kfree_skb(a) 463#define dev_kfree_skb(a) consume_skb(a)
464#define dev_consume_skb(a) kfree_skb_clean(a)
463extern void skb_over_panic(struct sk_buff *skb, int len, 465extern void skb_over_panic(struct sk_buff *skb, int len,
464 void *here); 466 void *here);
465extern void skb_under_panic(struct sk_buff *skb, int len, 467extern void skb_under_panic(struct sk_buff *skb, int len,