]> git.baikalelectronics.ru Git - kernel.git/commit
ifb: fix packets checksum
authorJon Maxwell <jmaxwell37@gmail.com>
Thu, 24 May 2018 21:38:29 +0000 (07:38 +1000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 03:02:22 +0000 (23:02 -0400)
commitdd2adc0d9cc77c7bdec798fd38611564ab753df8
tree2e83bb3b27f80a5a5b5a1b684e3fb263ef77a1bd
parent38a8b53d1c563cdeec68ceef9a8a7a2502c63bc6
ifb: fix packets checksum

Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path.
Otherwise we get splats when tc mirred is used to redirect packets to ifb.

Before fix:

nic: hw csum failure

Signed-off-by: Jon Maxwell <jmaxwell37@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c