Skip to content
Commit e308a5d8 authored by David S. Miller's avatar David S. Miller
Browse files

netdev: Add netdev->addr_list_lock protection.



Add netif_addr_{lock,unlock}{,_bh}() helpers.

Use them to protect operations that operate on or read
the network device unicast and multicast address lists.

Also use them in cases where the code simply wants to
block calls into the driver's ->set_rx_mode() and
->set_multicast_list() methods.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1f28aa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment