aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixgbe/ixgbe_ethtool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c
index 0d234346a4ea..7949a446e4c7 100644
--- a/drivers/net/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ixgbe/ixgbe_ethtool.c
@@ -441,10 +441,8 @@ static int ixgbe_set_tso(struct net_device *netdev, u32 data)
441 netdev->features |= NETIF_F_TSO; 441 netdev->features |= NETIF_F_TSO;
442 netdev->features |= NETIF_F_TSO6; 442 netdev->features |= NETIF_F_TSO6;
443 } else { 443 } else {
444 netif_tx_stop_all_queues(netdev);
445 netdev->features &= ~NETIF_F_TSO; 444 netdev->features &= ~NETIF_F_TSO;
446 netdev->features &= ~NETIF_F_TSO6; 445 netdev->features &= ~NETIF_F_TSO6;
447 netif_tx_start_all_queues(netdev);
448 } 446 }
449 return 0; 447 return 0;
450} 448}