diff options
author | 2013-05-18 01:18:28 +0000 | |
---|---|---|
committer | 2013-05-19 23:25:49 -0700 | |
commit | ea6836dd7ef9cfbed5dce421190009f9eed00b7e (patch) | |
tree | 3eb87d6856598772743b4fe8088468c7de09d8bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: irda: using kzalloc() instead of kmalloc() to avoid strncpy() issue. (diff) | |
download | linux-dev-ea6836dd7ef9cfbed5dce421190009f9eed00b7e.tar.xz linux-dev-ea6836dd7ef9cfbed5dce421190009f9eed00b7e.zip |
bonding: fix set mode race conditions
Changing the mode without any locking can result in multiple races (e.g.
upping a bond, enslaving/releasing). Depending on which race is hit the
impact can vary from incosistent bond state to kernel crash.
Use RTNL to synchronize the mode setting with the dangerous races.
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