diff options
author | dingtianhong <dingtianhong@huawei.com> | 2013-10-15 16:28:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-17 15:32:03 -0400 |
commit | 4d1ae5fb752b2504cf2c3d79abdfb410a09ad928 (patch) | |
tree | 96e159c832423cfeda2d18aff65e2d2afea2d4a5 /drivers/net/bonding/bond_alb.c | |
parent | 28c719260da032c999ecb4b73ba56311c635ef4e (diff) |
bonding: add rtnl lock and remove read lock for bond sysfs
The bond_for_each_slave() will not be protected by read_lock(),
only protected by rtnl_lock(), so need to replace read_lock()
with rtnl_lock().
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
0 files changed, 0 insertions, 0 deletions