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)
commit355b00d1e14051c13aea48c1c5430c486fed2d7a
treef80c9599c87ce90ddc9e4642128b3aed278d4c05
parent0977b2383de69dc48e9fa61c5c77878ed08d87fe
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: 9cf545ebd591d ("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