mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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>
This commit is contained in:
parent
38ae92dc21
commit
621e84d6f3
3 changed files with 25 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue