aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-11 15:17:57 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2016-08-12 08:07:12 +0200
commitae33786f73a7ce5b15ce29e8f342e43606385cef (patch)
tree93f389908cdcf2be4bce5ef90e322f7a4f19c394 /kernel/sysctl_binary.c
parentxfrm: policy: make xfrm_policy_lookup_bytype lockless (diff)
downloadlinux-ae33786f73a7ce5b15ce29e8f342e43606385cef.tar.gz
linux-ae33786f73a7ce5b15ce29e8f342e43606385cef.zip
xfrm: policy: only use rcu in xfrm_sk_policy_lookup
Don't acquire the readlock anymore and rely on rcu alone. In case writer on other CPU changed policy at the wrong moment (after we obtained sk policy pointer but before we could obtain the reference) just repeat the lookup. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions