diff options
author | Florian Westphal <fw@strlen.de> | 2019-05-03 17:46:17 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2019-06-06 08:34:50 +0200 |
commit | 3aaf3915a31aac83523d2de0191a480d3ad1e747 (patch) | |
tree | ecae3204bda9b89b3d6a38d3b05232af71114bc3 /net/xfrm/xfrm_input.c | |
parent | e46817472a1d7da32e8f265f9469a4e2fa39c60f (diff) | |
download | linux-stable-3aaf3915a31aac83523d2de0191a480d3ad1e747.tar.gz linux-stable-3aaf3915a31aac83523d2de0191a480d3ad1e747.tar.bz2 linux-stable-3aaf3915a31aac83523d2de0191a480d3ad1e747.zip |
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 'net/xfrm/xfrm_input.c')
0 files changed, 0 insertions, 0 deletions