diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-09-11 22:57:17 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:54:54 -0400 |
commit | 3d3d6d3cc2ad1e77516f3ad3f79d5988ebc361cf (patch) | |
tree | 18769660ded381728faf8da7d5a547622ad417b8 | |
parent | 05857980cf15d96dd9eb47dd444b0634f436ba34 (diff) |
ixgbe: fix ethtool disable csum for ipv6
ethtool was not disabling the correct netif flags when setting
checksum disable.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index 64460b4c50ca..2506f9eae58e 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -241,7 +241,7 @@ static int ixgbe_set_tx_csum(struct net_device *netdev, u32 data) | |||
241 | if (data) | 241 | if (data) |
242 | netdev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); | 242 | netdev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); |
243 | else | 243 | else |
244 | netdev->features &= ~NETIF_F_IP_CSUM; | 244 | netdev->features &= ~(NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM); |
245 | 245 | ||
246 | return 0; | 246 | return 0; |
247 | } | 247 | } |