fjes: Fix wrong netdevice feature flags
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Wed, 15 Mar 2017 04:47:50 +0000 (13:47 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2017 19:43:23 +0000 (12:43 -0700)
commitfe8daf5fa715f7214952f06a387e4b7de818c5be
treeb468219340e744cee6cdcd40c96432e8fe68a580
parent95422dec6bd4a7c57444743f7b1bb375335a6298
fjes: Fix wrong netdevice feature flags

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>
drivers/net/fjes/fjes_main.c