Searched hist:"9580 bf2edb402b3afaf9c5a4efb6953f993ef52e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | ip_tunnel_core.c | diff 9580bf2edb402b3afaf9c5a4efb6953f993ef52e Sat Apr 30 12:19:29 CDT 2016 Eric Dumazet <edumazet@google.com> net: relax expensive skb_unclone() in iptunnel_handle_offloads()
Locally generated TCP GSO packets having to go through a GRE/SIT/IPIP tunnel have to go through an expensive skb_unclone()
Reallocating skb->head is a lot of work.
Test should really check if a 'real clone' of the packet was done.
TCP does not care if the original gso_type is changed while the packet travels in the stack.
This adds skb_header_unclone() which is a variant of skb_clone() using skb_header_cloned() check instead of skb_cloned().
This variant can probably be used from other points.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/linux/ |
H A D | skbuff.h | diff 9580bf2edb402b3afaf9c5a4efb6953f993ef52e Sat Apr 30 12:19:29 CDT 2016 Eric Dumazet <edumazet@google.com> net: relax expensive skb_unclone() in iptunnel_handle_offloads()
Locally generated TCP GSO packets having to go through a GRE/SIT/IPIP tunnel have to go through an expensive skb_unclone()
Reallocating skb->head is a lot of work.
Test should really check if a 'real clone' of the packet was done.
TCP does not care if the original gso_type is changed while the packet travels in the stack.
This adds skb_header_unclone() which is a variant of skb_clone() using skb_header_cloned() check instead of skb_cloned().
This variant can probably be used from other points.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|