diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c index 3f663fb852c1..261ab7150431 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c | |||
@@ -775,6 +775,7 @@ void ipoib_mcast_restart_task(struct work_struct *work) | |||
775 | 775 | ||
776 | local_irq_save(flags); | 776 | local_irq_save(flags); |
777 | netif_tx_lock(dev); | 777 | netif_tx_lock(dev); |
778 | netif_addr_lock(dev); | ||
778 | spin_lock(&priv->lock); | 779 | spin_lock(&priv->lock); |
779 | 780 | ||
780 | /* | 781 | /* |
@@ -851,6 +852,7 @@ void ipoib_mcast_restart_task(struct work_struct *work) | |||
851 | } | 852 | } |
852 | 853 | ||
853 | spin_unlock(&priv->lock); | 854 | spin_unlock(&priv->lock); |
855 | netif_addr_unlock(dev); | ||
854 | netif_tx_unlock(dev); | 856 | netif_tx_unlock(dev); |
855 | local_irq_restore(flags); | 857 | local_irq_restore(flags); |
856 | 858 | ||