table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SKB_SCRUB_PACKET(9) | Linux Networking | SKB_SCRUB_PACKET(9) |
NAME¶
skb_scrub_packet - scrub an skbSYNOPSIS¶
void
skb_scrub_packet(struct sk_buff * skb,
bool xnet);
ARGUMENTS¶
skbbuffer to clean
xnet
packet is crossing netns
DESCRIPTION¶
skb_scrub_packet can be used after encapsulating or decapsulting a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace ( xnet == true). We have to clear all information in the skb that could impact namespace isolation.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |