xfrm: policy: convert policy_lock to spinlock
authorFlorian Westphal <fw@strlen.de>
Thu, 11 Aug 2016 13:17:59 +0000 (15:17 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 12 Aug 2016 06:07:12 +0000 (08:07 +0200)
commit9d0380df6217e8dd014118fa1c99dda9974f3613
treed3cb885fa28fcde230a154b465bb69bd22f9a29c
parentd5b8f86dc7200d16e48bb3a6aaac29c0cdf621c9
xfrm: policy: convert policy_lock to spinlock

After earlier patches conversions all spots acquire the writer lock and
we can now convert this to a normal spinlock.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/netns/xfrm.h
net/xfrm/xfrm_policy.c