]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: policy: use hlist rcu variants on inexact insert, part 2
authorFlorian Westphal <fw@strlen.de>
Fri, 4 Jan 2019 13:17:00 +0000 (14:17 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 9 Jan 2019 12:58:23 +0000 (13:58 +0100)
commitf0abe33632f4195d0e0bd605200cfefa1cbe2c66
treef80c9599c87ce90ddc9e4642128b3aed278d4c05
parent53f5f605bd535e16652563796ff009d1ec6b4f1f
xfrm: policy: use hlist rcu variants on inexact insert, part 2

This function was modeled on the 'exact' insert one, which did not use
the rcu variant either.

When I fixed the 'exact' insert I forgot to propagate this to my
development tree, so the inexact variant retained the bug.

Fixes: 9de1558b04a39 ("xfrm: policy: store inexact policies in a tree ordered by destination address")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c