net: aquantia: invalid checksumm offload implementation
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Fri, 9 Nov 2018 11:54:01 +0000 (11:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 23:38:10 +0000 (15:38 -0800)
commitad703c2b9127f9acdef697ec4755f6da4beaa266
tree6413bae24bb34adff365b8fcef9d0e5a27cf683e
parentbfaa9f8553d5c20703781e63f4fc8cb4792f18fd
net: aquantia: invalid checksumm offload implementation

Packets with marked invalid IP/UDP/TCP checksums were considered as good
by the driver. The error was in a logic, processing offload bits in
RX descriptor.

Signed-off-by: Igor Russkikh <igor.russkikh@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
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c