summaryrefslogtreecommitdiff
path: root/Documentation/infiniband
diff options
context:
space:
mode:
authorVeaceslav Falico <vfalico@redhat.com>2013-06-17 17:30:35 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-06-17 23:27:24 (GMT)
commitcedb743f3e8db12cc76a706888792497953e93bb (patch)
treed3e356ab352b1cd99f18fd46219472ab20a01d69 /Documentation/infiniband
parent72bb72b0d98847d22c6fae4e170121f3640f0f60 (diff)
downloadlinux-fsl-qoriq-cedb743f3e8db12cc76a706888792497953e93bb.tar.xz
bonding: don't call alb_set_slave_mac_addr() while atomic
alb_set_slave_mac_addr() sets the mac address in alb mode via dev_set_mac_address(), which might sleep. It's called from alb_handle_addr_collision_on_attach() in atomic context (under read_lock(bond->lock)), thus triggering a bug. Fix this by moving the lock inside alb_handle_addr_collision_on_attach(). v1->v2: As Nikolay Aleksandrov noticed, we can drop the bond->lock completely. Also, use bond_slave_has_mac(), when possible. Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions