ixgbe: fix ethtool disable csum for ipv6
[pandora-kernel.git] / drivers / net / ixgbe / ixgbe_ethtool.c
index 64460b4..2506f9e 100644 (file)
@@ -241,7 +241,7 @@ static int ixgbe_set_tx_csum(struct net_device *netdev, u32 data)
        if (data)
                netdev->features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM);
        else
-               netdev->features &= ~NETIF_F_IP_CSUM;
+               netdev->features &= ~(NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM);
 
        return 0;
 }