diff options
author | Florian Westphal <fw@strlen.de> | 2019-05-03 18:46:17 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2019-06-06 09:34:50 +0300 |
commit | 3aaf3915a31aac83523d2de0191a480d3ad1e747 (patch) | |
tree | ecae3204bda9b89b3d6a38d3b05232af71114bc3 /lib | |
parent | e46817472a1d7da32e8f265f9469a4e2fa39c60f (diff) | |
download | linux-3aaf3915a31aac83523d2de0191a480d3ad1e747.tar.xz |
xfrm: remove state and template sort indirections from xfrm_state_afinfo
No module dependency, placing this in xfrm_state.c avoids need for
an indirection.
This also removes the state spinlock -- I don't see why we would need
to hold it during sorting.
This in turn allows to remove the 'net' argument passed to
xfrm_tmpl_sort. Last, remove the EXPORT_SYMBOL, there are no modular
callers.
For the CONFIG_IPV6=m case, vmlinux size increase is about 300 byte.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions