]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
xfrm: policy: don't acquire policy lock in xfrm_spd_getinfo
authorFlorian Westphal <fw@strlen.de>
Thu, 11 Aug 2016 13:17:58 +0000 (15:17 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 12 Aug 2016 06:07:12 +0000 (08:07 +0200)
commitd5b8f86dc7200d16e48bb3a6aaac29c0cdf621c9
treed772e2fbe91b8609a743207213912818ff946b39
parentae33786f73a7ce5b15ce29e8f342e43606385cef
xfrm: policy: don't acquire policy lock in xfrm_spd_getinfo

It doesn't seem that important.

We now get inconsistent view of the counters, but those are stale anyway
right after we drop the lock.

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