diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-06-26 16:11:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-27 22:29:05 -0700 |
commit | 621e84d6f373dcb273ebfd772638b8e7dc3c2c48 (patch) | |
tree | 55135ee5450006f25cca4f14c8206524f976149b /include | |
parent | 38ae92dc215e939897f17861d658f882d0eaab0f (diff) | |
download | linux-621e84d6f373dcb273ebfd772638b8e7dc3c2c48.tar.bz2 |
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.h | 1 |
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, 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); |