Re: [PATCH net-next] net: skb_needs_check() accepts CHECKSUM_NONE for tx

2017-02-03 Thread David Miller
From: Eric Dumazet Date: Fri, 03 Feb 2017 14:29:42 -0800 > From: Eric Dumazet > > My recent change missed fact that UFO would perform a complete > UDP checksum before segmenting in frags. > > In this case skb->ip_summed is set to CHECKSUM_NONE. > > We need to add this valid case to skb_needs_

[PATCH net-next] net: skb_needs_check() accepts CHECKSUM_NONE for tx

2017-02-03 Thread Eric Dumazet
From: Eric Dumazet My recent change missed fact that UFO would perform a complete UDP checksum before segmenting in frags. In this case skb->ip_summed is set to CHECKSUM_NONE. We need to add this valid case to skb_needs_check() Fixes: b2504a5dbef3 ("net: reduce skb_warn_bad_offload() noise") S