]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: sgi: ioc3-eth: no need to stop queue set_multicast_list
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Fri, 30 Aug 2019 09:25:38 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 20:54:36 +0000 (13:54 -0700)
netif_stop_queue()/netif_wake_qeue() aren't needed for changing
multicast filters.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c

index 963ed0f9787ce0e62e965ca8074ff7ff93915e1c..deb636d653f3bf908c3566eb5e939d9259be0265 100644 (file)
@@ -1627,8 +1627,6 @@ static void ioc3_set_multicast_list(struct net_device *dev)
        struct netdev_hw_addr *ha;
        u64 ehar = 0;
 
-       netif_stop_queue(dev);                          /* Lock out others. */
-
        spin_lock_irq(&ip->ioc3_lock);
 
        if (dev->flags & IFF_PROMISC) {                 /* Set promiscuous.  */
@@ -1660,8 +1658,6 @@ static void ioc3_set_multicast_list(struct net_device *dev)
        }
 
        spin_unlock_irq(&ip->ioc3_lock);
-
-       netif_wake_queue(dev);                  /* Let us get going again. */
 }
 
 module_pci_driver(ioc3_driver);