aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2013-06-26 10:11:27 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-28 01:29:05 -0400
commit621e84d6f373dcb273ebfd772638b8e7dc3c2c48 (patch)
tree55135ee5450006f25cca4f14c8206524f976149b /include
parent38ae92dc215e939897f17861d658f882d0eaab0f (diff)
dev: introduce skb_scrub_packet()
The goal of this new function is to perform all needed cleanup before sending an skb into another netns. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/skbuff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index a7393adea0b5..6b06023e8a08 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -2384,6 +2384,7 @@ extern void skb_split(struct sk_buff *skb,
2384 struct sk_buff *skb1, const u32 len); 2384 struct sk_buff *skb1, const u32 len);
2385extern int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, 2385extern int skb_shift(struct sk_buff *tgt, struct sk_buff *skb,
2386 int shiftlen); 2386 int shiftlen);
2387extern void skb_scrub_packet(struct sk_buff *skb);
2387 2388
2388extern struct sk_buff *skb_segment(struct sk_buff *skb, 2389extern struct sk_buff *skb_segment(struct sk_buff *skb,
2389 netdev_features_t features); 2390 netdev_features_t features);