diff options
author | 2019-05-03 17:46:17 +0200 | |
---|---|---|
committer | 2019-06-06 08:34:50 +0200 | |
commit | 3aaf3915a31aac83523d2de0191a480d3ad1e747 (patch) | |
tree | ecae3204bda9b89b3d6a38d3b05232af71114bc3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm: remove init_flags indirection from xfrm_state_afinfo (diff) | |
download | wireguard-linux-3aaf3915a31aac83523d2de0191a480d3ad1e747.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions