UPSTREAM: net: skb_needs_check() accepts CHECKSUM_NONE for tx

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")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
(cherry picked from commit 6e7bc478c9a006c701c14476ec9d389a484b4864)
Signed-off-by: Amey Deshpande <[email protected]>

TEST=Trybots
BUG=b:64542172
BUG=b:63962344

Change-Id: If9ce2f92157845e8d2d78bb0b3bbb8a080201c58
Reviewed-on: https://chromium-review.googlesource.com/616345
Commit-Ready: Amey Deshpande <[email protected]>
Tested-by: Amey Deshpande <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
1 file changed