]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfrm: policy: remove garbage_collect callback
authorFlorian Westphal <fw@strlen.de>
Tue, 7 Feb 2017 14:00:16 +0000 (15:00 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 9 Feb 2017 09:22:18 +0000 (10:22 +0100)
commit3d7d25a68ea5153d9d0d01c8c83acf644eab9704
tree1dfb7c8066af07676209f391f9efd51e5017c356
parent2b61997aa0c68ae033d066ac2d9905ada81b761a
xfrm: policy: remove garbage_collect callback

Just call xfrm_garbage_collect_deferred() directly.
This gets rid of a write to afinfo in register/unregister and allows to
constify afinfo later on.

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