From: Veaceslav Falico Date: Fri, 10 Jan 2014 10:59:45 +0000 (+0100) Subject: bonding: fix __get_active_agg() RCU logic X-Git-Tag: v3.14-rc1~94^2~202^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b7624eda6867d2803bcc5bbf6f25936184304a;p=pandora-kernel.git 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 CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed