aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDoug Berger <[email protected]>2022-03-17 01:28:12 +0000
committerJakub Kicinski <[email protected]>2022-03-17 16:34:24 +0000
commit0f643c88c8d240eba0ea25c2e095a46515ff46e9 (patch)
treef4c610cf9c0e6d301d6893e26082a11550e64b27 /net/unix/af_unix.c
parentbnx2x: fix built-in kernel driver load failure (diff)
downloadkernel-0f643c88c8d240eba0ea25c2e095a46515ff46e9.tar.gz
kernel-0f643c88c8d240eba0ea25c2e095a46515ff46e9.zip
net: bcmgenet: skip invalid partial checksums
The RXCHK block will return a partial checksum of 0 if it encounters a problem while receiving a packet. Since a 1's complement sum can only produce this result if no bits are set in the received data stream it is fair to treat it as an invalid partial checksum and not pass it up the stack. Fixes: 810155397890 ("net: bcmgenet: use CHECKSUM_COMPLETE for NETIF_F_RXCSUM") Signed-off-by: Doug Berger <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions