mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08: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 |