Skip to content
Snippets Groups Projects
Commit e4a7b93b authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

bonding: remove dev_base_lock use


bond_info_seq_start() uses a read_lock(&dev_base_lock) to make sure
device doesn’t disappear. Same goal can be achieved using RCU.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 840a185d
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