Re: [PATCH net-next] net: relax expensive skb_unclone() in iptunnel_handle_offloads()

2016-05-02 Thread David Miller
From: Eric Dumazet Date: Sat, 30 Apr 2016 10:19:29 -0700 > From: Eric Dumazet > > 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 c

[PATCH net-next] net: relax expensive skb_unclone() in iptunnel_handle_offloads()

2016-04-30 Thread Eric Dumazet
From: Eric Dumazet 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 i