Steffen Klassert wrote:
> On Thu, Aug 11, 2016 at 03:17:59PM +0200, Florian Westphal wrote:
> > @@ -972,14 +972,14 @@ int xfrm_policy_flush(struct net *net, u8 type, bool
> > task_valid)
> > if (pol->type != type)
> > continue;
> >
On Thu, Aug 11, 2016 at 03:17:59PM +0200, Florian Westphal wrote:
> @@ -972,14 +972,14 @@ int xfrm_policy_flush(struct net *net, u8 type, bool
> task_valid)
> if (pol->type != type)
> continue;
> __xfrm_policy_unlink(pol, di
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
---
include/net/netns/xfrm.h | 2 +-
net/xfrm/xfrm_policy.c | 68
2 files changed, 35 insertio