summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-01-14 07:22:35 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-14 07:22:35 +0100
commit2afe02eed1ac565e5ba90254706e67f670ae41a2 (patch)
tree8cf62ce9ae669d5587bbc7b9dc8ee504eecaed56 /net/xfrm/xfrm_policy.c
parentMerge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge (diff)
parentbonding: fix __get_active_agg() RCU logic (diff)
downloadlinux-2afe02eed1ac565e5ba90254706e67f670ae41a2.tar.xz
linux-2afe02eed1ac565e5ba90254706e67f670ae41a2.zip
Merge branch 'bonding_rcu'
Veaceslav Falico says: ==================== bonding: fix bond_3ad RCU usage While digging through bond_3ad.c I've found that the RCU usage there is just wrong - it's used as a kind of mutex/spinlock instead of RCU. v3->v4: remove useless goto and wrap __get_first_agg() in proper RCU. v2->v3: make bond_3ad_set_carrier() use RCU read lock for the whole function, so that all other functions will be protected by RCU as well. This way we can use _rcu variants everywhere. v1->v2: use generic primitives instead of _rcu ones cause we can hold RTNL lock without RCU one, which is still safe. This patchset is on top of bond_3ad.c cleanup: http://www.spinics.net/lists/netdev/msg265447.html ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions