]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/skbuff.h
skb: allow skb_scrub_packet() to be used by tunnels
[karo-tx-linux.git] / include / linux / skbuff.h
index 5ac96f31d546609403768ea462e88f3e2a02b8dd..2ddb48d9312c260e1e41a87ac25a19314f2aa379 100644 (file)
@@ -1905,8 +1905,8 @@ static inline struct sk_buff *netdev_alloc_skb_ip_align(struct net_device *dev,
        return __netdev_alloc_skb_ip_align(dev, length, GFP_ATOMIC);
 }
 
-/*
- *     __skb_alloc_page - allocate pages for ps-rx on a skb and preserve pfmemalloc data
+/**
+ *     __skb_alloc_pages - allocate pages for ps-rx on a skb and preserve pfmemalloc data
  *     @gfp_mask: alloc_pages_node mask. Set __GFP_NOMEMALLOC if not for network packet RX
  *     @skb: skb to set pfmemalloc on if __GFP_MEMALLOC is used
  *     @order: size of the allocation
@@ -2392,7 +2392,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 void           skb_scrub_packet(struct sk_buff *skb, bool xnet);
 
 extern struct sk_buff *skb_segment(struct sk_buff *skb,
                                   netdev_features_t features);