be2net: Bug fix to properly update ethtool tx-checksumming after ethtool -K <ifname...
authorAjit Khaparde <ajitk@serverengines.com>
Mon, 5 Oct 2009 02:22:19 +0000 (02:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 00:33:41 +0000 (17:33 -0700)
commit583e3f34ebf421e51bf15beb9df84ef70f7dd3f9
treee1a0951860331c150f49bc28a7fb581eefd00aa2
parent49643848f9ec8182cf04a83115f58d43854bbdc6
be2net: Bug fix to properly update ethtool tx-checksumming after ethtool -K <ifname> tx off

This is a fix for a bug which was a result of wrong use of checksum offload flag.
The status of tx-checksumming was not changed from on to off
after a 'ethtool -K <ifname> tx off' operation.
Use the proper checksum offload flag NETIF_F_HW_CSUM instead of
NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM.
Patch is against net-2.6 tree.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_ethtool.c
drivers/net/benet/be_main.c