net/mlx4_en: Use the correct netif lock on ndo_set_rx_mode
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 24 Jan 2013 01:54:16 +0000 (01:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2013 05:13:56 +0000 (00:13 -0500)
commitdbd501a80671180a8f3cdf93ca465959031fef18
tree5b7d11aa46789fbc0cbae3442e6181c37165740b
parentdb0e7cba6dafa269f33f379997794a9d3bd4d535
net/mlx4_en: Use the correct netif lock on ndo_set_rx_mode

The device multicast list is protected by netif_addr_lock_bh in the networking core, we should
use this locking practice in mlx4_en too.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c