fjes: Fix wrong netdevice feature flags
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Wed, 15 Mar 2017 04:47:50 +0000 (13:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:04:55 +0000 (10:04 +0100)
commitc383ebf1acd6e30fb6b93078d5c0b20c1769a907
treea2771dc220c62c993d4e5116e737a07134901260
parenta33a9d0c705fefb20a937708314aad65e09da110
fjes: Fix wrong netdevice feature flags

[ Upstream commit fe8daf5fa715f7214952f06a387e4b7de818c5be ]

This patch fixes netdev->features for Extended Socket network device.

Currently Extended Socket network device's netdev->feature claims
NETIF_F_HW_CSUM, however this is completely wrong. There's no feature
of checksum offloading.
That causes invalid TCP/UDP checksum and packet rejection when IP
forwarding from Extended Socket network device to other network device.

NETIF_F_HW_CSUM should be omitted.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/fjes/fjes_main.c