|
@@ -421,6 +421,7 @@ extern void skb_dma_unmap(struct device *dev, struct sk_buff *skb,
|
|
#endif
|
|
#endif
|
|
|
|
|
|
extern void kfree_skb(struct sk_buff *skb);
|
|
extern void kfree_skb(struct sk_buff *skb);
|
|
|
|
+extern void consume_skb(struct sk_buff *skb);
|
|
extern void __kfree_skb(struct sk_buff *skb);
|
|
extern void __kfree_skb(struct sk_buff *skb);
|
|
extern struct sk_buff *__alloc_skb(unsigned int size,
|
|
extern struct sk_buff *__alloc_skb(unsigned int size,
|
|
gfp_t priority, int fclone, int node);
|
|
gfp_t priority, int fclone, int node);
|
|
@@ -459,7 +460,8 @@ extern int skb_to_sgvec(struct sk_buff *skb,
|
|
extern int skb_cow_data(struct sk_buff *skb, int tailbits,
|
|
extern int skb_cow_data(struct sk_buff *skb, int tailbits,
|
|
struct sk_buff **trailer);
|
|
struct sk_buff **trailer);
|
|
extern int skb_pad(struct sk_buff *skb, int pad);
|
|
extern int skb_pad(struct sk_buff *skb, int pad);
|
|
-#define dev_kfree_skb(a) kfree_skb(a)
|
|
|
|
|
|
+#define dev_kfree_skb(a) consume_skb(a)
|
|
|
|
+#define dev_consume_skb(a) kfree_skb_clean(a)
|
|
extern void skb_over_panic(struct sk_buff *skb, int len,
|
|
extern void skb_over_panic(struct sk_buff *skb, int len,
|
|
void *here);
|
|
void *here);
|
|
extern void skb_under_panic(struct sk_buff *skb, int len,
|
|
extern void skb_under_panic(struct sk_buff *skb, int len,
|