bonding: remove dev_base_lock use
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 29 Oct 2010 01:52:46 +0000 (01:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Nov 2010 21:50:07 +0000 (13:50 -0800)
commite4a7b93bd5d84e1e79917d024d17d745d190fc9a
tree84a80b1b60ca952498a6e8e5587256a5bb8d54cf
parent840a185dddfd098b78b96a30da4cad722a7aef18
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: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c