summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2013-06-26 16:11:27 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-27 22:29:05 -0700
commit621e84d6f373dcb273ebfd772638b8e7dc3c2c48 (patch)
tree55135ee5450006f25cca4f14c8206524f976149b /include/linux/skbuff.h
parent38ae92dc215e939897f17861d658f882d0eaab0f (diff)
downloadop-kernel-dev-621e84d6f373dcb273ebfd772638b8e7dc3c2c48.zip
op-kernel-dev-621e84d6f373dcb273ebfd772638b8e7dc3c2c48.tar.gz
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/linux/skbuff.h')
-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 a7393ad..6b06023 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -2384,6 +2384,7 @@ extern void skb_split(struct sk_buff *skb,
struct sk_buff *skb1, const u32 len);
extern int skb_shift(struct sk_buff *tgt, struct sk_buff *skb,
int shiftlen);
+extern void skb_scrub_packet(struct sk_buff *skb);
extern struct sk_buff *skb_segment(struct sk_buff *skb,
netdev_features_t features);
OpenPOWER on IntegriCloud