bonding: 3ad: clean up curr_slave_lock usage
authorNikolay Aleksandrov <nikolay@redhat.com>
Thu, 11 Sep 2014 20:49:22 +0000 (22:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 20:29:06 +0000 (16:29 -0400)
commit86e749866d7c6b0ee1f9377cf7142f2690596a05
treed81e5ce453b7c3f875f5110ddc315cf92612ccde
parentb25bd2515ea32cf5ddd5fd5a2a93b8c9dd875e4f
bonding: 3ad: clean up curr_slave_lock usage

Remove the read_lock in bond_3ad_lacpdu_recv() since when the slave is
being released its rx_handler is removed before 3ad unbind, so even if
packets arrive, they won't see the slave in an inconsistent state.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
This page took 0.026128 seconds and 5 git commands to generate.