aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJay Vosburgh <[email protected]>2010-07-21 12:14:48 +0000
committerDavid S. Miller <[email protected]>2010-07-22 14:14:47 -0700
commit03dc2f4c525afb9488edb687c2e1f7057d59b40e (patch)
tree59702784f96f5a7427e4053c65845aad9a2d1d68 /tools/perf/scripts/python/bin
parentf35188faa0fbabefac476536994f4b6f3677380f (diff)
bonding: don't lock when copying/clearing VLAN list on slave
When copying VLAN information to or removing from a slave during slave addition or removal, the bonding code currently holds the bond->lock for write to prevent concurrent modification of the vlan_list / vlgrp. This is unnecessary, as all of these operations occur under RTNL. Holding the bond->lock also caused might_sleep issues for some drivers' ndo_vlan_* functions. This patch removes the extra locking. Problem reported by Michael Chan <[email protected]> Signed-off-by: Jay Vosburgh <[email protected]> Cc: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions