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 <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 6e7bc478c9a006c701c14476ec9d389a484b4864)
Signed-off-by: Amey Deshpande <ameyd@google.com>

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

Change-Id: If9ce2f92157845e8d2d78bb0b3bbb8a080201c58
Reviewed-on: https://chromium-review.googlesource.com/616345
Commit-Ready: Amey Deshpande <ameyd@google.com>
Tested-by: Amey Deshpande <ameyd@google.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
(cherry picked from commit 432a134c29bc1205c64a65c0e18f8af2fee2acf2)
Reviewed-on: https://chromium-review.googlesource.com/644087
Reviewed-by: Amey Deshpande <ameyd@google.com>
Commit-Queue: Daniel Wang <wonderfly@google.com>
Tested-by: Daniel Wang <wonderfly@google.com>
1 file changed