]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: policy: use hlist rcu variants on insert
authorFlorian Westphal <fw@strlen.de>
Wed, 10 Oct 2018 16:02:21 +0000 (18:02 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 11 Oct 2018 11:24:46 +0000 (13:24 +0200)
commitc674943083e8195e237051ce7f0da0d5cc58a309
treea9549d86def6aba71a3230e82e21edb9e77e894d
parentf0c02a0b8e7b56de89560d4b6e2326c7be62304d
xfrm: policy: use hlist rcu variants on insert

bydst table/list lookups use rcu, so insertions must use rcu versions.

Fixes: e1f78ee71b853 ("xfrm: policy: make xfrm_policy_lookup_bytype lockless")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c