linux/drivers/net/bonding
Veaceslav Falico 49b7624eda bonding: fix __get_active_agg() RCU logic
Currently, the implementation is meaningless - once again, we take the
slave structure and use it after we've exited RCU critical section.

Fix this by removing the rcu_read_lock() from __get_active_agg(), and
ensuring that all its callers are holding RCU.

Fixes: be79bd048 ("bonding: add RCU for bond_3ad_state_machine_handler()")
CC: dingtianhong@huawei.com
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-13 22:22:27 -08:00
..
bond_3ad.c bonding: fix __get_active_agg() RCU logic 2014-01-13 22:22:27 -08:00
bond_3ad.h bonding: remove the return value for bond_3ad_bind_slave() 2014-01-01 22:58:55 -05:00
bond_alb.c bonding: slight optimization for bond_alb_xmit() 2014-01-01 22:58:15 -05:00
bond_alb.h drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
bond_debugfs.c bonding: delete migrated IP addresses from the rlb hash table 2012-11-30 12:07:27 -05:00
bond_main.c bonding: add ad_select attribute netlink support 2014-01-03 21:03:21 -05:00
bond_netlink.c bonding: fix netlink msg size 2014-01-03 21:03:21 -05:00
bond_options.c bonding: add bounds checking for tbl params 2014-01-03 21:03:22 -05:00
bond_procfs.c bonding: don't use bond_next_slave() in bond_info_seq_next() 2013-09-28 15:28:06 -07:00
bond_sysfs.c bonding: fix kstrtou8() return value verification in num_peer_notif 2014-01-06 16:26:00 -05:00
bonding.h bonding: add ad_select attribute netlink support 2014-01-03 21:03:21 -05:00
Makefile bonding: move mode setting into separate function 2013-10-19 18:58:45 -04:00