]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Sat, 16 Mar 2019 08:28:18 +0000 (08:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Mar 2019 23:59:35 +0000 (16:59 -0700)
commita7faaa0c5dc7d091cc9f72b870d7edcdd6f43f12
treee91299b8b191cf62d9fbefc141bbf5f1f3de7639
parentbb9e5c5bcd76f4474eac3baf643d7a39f7bac7bb
net: aquantia: fix rx checksum offload for UDP/TCP over IPv6

TCP/UDP checksum validity was propagated to skb
only if IP checksum is valid.
But for IPv6 there is no validity as there is no checksum in IPv6.
This patch propagates TCP/UDP checksum validity regardless of IP checksum.

Fixes: 018423e90bee ("net: ethernet: aquantia: Add ring support code")
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Nikita Danilov <nikita.danilov@aquantia.com>
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ring.c