mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
3ba359c0cd
RCU use in bond_should_notify_peers() looks wrong, since it does
rcu_dereference(), leaves the critical section, and uses the
pointer after that.
Luckily, it's called either inside a nested RCU critical section
or with the RTNL held.
Annotate it with rcu_dereference_rtnl() instead, and remove the
inner RCU critical section.
Fixes:
|
||
---|---|---|
.. | ||
bond_3ad.c | ||
bond_alb.c | ||
bond_debugfs.c | ||
bond_main.c | ||
bond_netlink.c | ||
bond_options.c | ||
bond_procfs.c | ||
bond_sysfs_slave.c | ||
bond_sysfs.c | ||
bonding_priv.h | ||
Makefile |