summaryrefslogtreecommitdiff
path: root/cpus.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpus.h')
0 files changed, 0 insertions, 0 deletions
f='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=330e832abda923df06a4ca6d3faac6e9c1b42548'>cbe128eef39cf12faf87898eebd7fdfd54f9a6bc parent7f92083eb58f85ea114d97f65fcbe22be5b0468d (diff)
xfrm: unbreak xfrm_sk_policy_lookup
if we succeed grabbing the refcount, then if (err && !xfrm_pol_hold_rcu) will evaluate to false so this hits last else branch which then sets policy to ERR_PTR(0). Fixes: ae33786f73a7ce ("xfrm: policy: only use rcu in xfrm_sk_policy_lookup") Reported-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Tested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat