Re: [PATCH nf] ipv6: avoid write to a possibly cloned skb

2017-03-13 Thread David Miller
From: Florian Westphal Date: Mon, 13 Mar 2017 16:24:28 +0100 > ip6_fragment, in case skb has a fraglist, checks if the > skb is cloned. If it is, it will move to the 'slow path' and allocates > new skbs for each fragment. > > However, right before entering the slowpath loop, it

[PATCH nf] ipv6: avoid write to a possibly cloned skb

2017-03-13 Thread Florian Westphal
ip6_fragment, in case skb has a fraglist, checks if the skb is cloned. If it is, it will move to the 'slow path' and allocates new skbs for each fragment. However, right before entering the slowpath loop, it updates the nexthdr value of the last ipv6 extension header to NEXTHDR_FRAGMENT, to