]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
qede: Do not drop rx-checksum invalidated packets.
authorManish Chopra <manish.chopra@cavium.com>
Wed, 28 Mar 2018 10:35:52 +0000 (03:35 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commit16d10fcd1609c97c60bad3ed0dbd3025f587b4f2
tree0267572eb403f37e148b410d3fd92e0895e04c4d
parent4c093c0c4fa11eab00cee2f7aa03806ca7a85add
qede: Do not drop rx-checksum invalidated packets.

BugLink: http://bugs.launchpad.net/bugs/1786352
[ Upstream commit 58f101bf87e32753342a6924772c6ebb0fbde24a ]

Today, driver drops received packets which are indicated as
invalid checksum by the device. Instead of dropping such packets,
pass them to the stack with CHECKSUM_NONE indication in skb.

Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/qlogic/qede/qede_fp.c