diff options
author | Veaceslav Falico | 2014-01-27 14:37:32 +0100 |
---|---|---|
committer | David S. Miller | 2014-01-27 22:12:45 +0100 |
commit | f2ebd477f141bc09b10fb8deb612a4d9b8999bba (patch) | |
tree | 097d2f21d367ae28eaa40fc5d1ee9519f8932687 /MAINTAINERS | |
parent | bonding: RCUify bond_ab_arp_probe (diff) | |
download | kernel-qcow2-linux-f2ebd477f141bc09b10fb8deb612a4d9b8999bba.tar.gz kernel-qcow2-linux-f2ebd477f141bc09b10fb8deb612a4d9b8999bba.tar.xz kernel-qcow2-linux-f2ebd477f141bc09b10fb8deb612a4d9b8999bba.zip |
bonding: restructure locking of bond_ab_arp_probe()
Currently we're calling it from under RCU context, however we're using some
functions that require rtnl to be held.
Fix this by restructuring the locking - don't call it under any locks,
aquire rcu_read_lock() if we're sending _only_ (i.e. we have the active
slave present), and use rtnl locking otherwise - if we need to modify
(in)active flags of a slave.
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions