net: correct lock name in dev_[uc/mc]_sync documentations.
authorJiri Pirko <jpirko@redhat.com>
Mon, 9 Jan 2012 06:18:34 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2012 20:46:58 +0000 (12:46 -0800)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_addr_lists.c

index febba51..c34ce9f 100644 (file)
@@ -427,7 +427,7 @@ EXPORT_SYMBOL(dev_uc_del);
  *
  *     Add newly added addresses to the destination device and release
  *     addresses that have no users left. The source device must be
- *     locked by netif_tx_lock_bh.
+ *     locked by netif_addr_lock_bh.
  *
  *     This function is intended to be called from the dev->set_rx_mode
  *     function of layered software devices.
@@ -590,7 +590,7 @@ EXPORT_SYMBOL(dev_mc_del_global);
  *
  *     Add newly added addresses to the destination device and release
  *     addresses that have no users left. The source device must be
- *     locked by netif_tx_lock_bh.
+ *     locked by netif_addr_lock_bh.
  *
  *     This function is intended to be called from the ndo_set_rx_mode
  *     function of layered software devices.