diff options
author | 2013-09-02 13:51:40 +0200 | |
---|---|---|
committer | 2013-09-04 00:27:24 -0400 | |
commit | c509316b5b33664b08b2a40d09534e0bd3c6b648 (patch) | |
tree | 3769e355a452894b9eaa4694f0486670c8adde64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bonding: trivial: remove outdated comment and braces (diff) | |
download | linux-dev-c509316b5b33664b08b2a40d09534e0bd3c6b648.tar.xz linux-dev-c509316b5b33664b08b2a40d09534e0bd3c6b648.zip |
bonding: simplify bond_3ad_update_lacp_rate and use RTNL for sync
We can drop the use of bond->lock for mutual exclusion in
bond_3ad_update_lacp_rate and use RTNL in the sysfs store function
instead. This way we'll prevent races with mode change and interface
up/down as well as simplify update_lacp_rate by removing the check for
port->slave because it'll always be initialized (done while enslaving
with RTNL). This change will also help in the future removal of reader
bond->lock from bond_enslave.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions