aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/esp4_offload.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-03-29 21:16:26 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2019-04-08 09:14:34 +0200
commit303c5fab1272888b22088fbdd08cb770205ccb7a (patch)
tree2da5ad76fc2b3f9172c112f3377bed983c8a5724 /net/ipv4/esp4_offload.c
parentxfrm: remove output indirection from xfrm_mode (diff)
downloadlinux-dev-303c5fab1272888b22088fbdd08cb770205ccb7a.tar.xz
linux-dev-303c5fab1272888b22088fbdd08cb770205ccb7a.zip
xfrm: remove xmit indirection from xfrm_mode
There are only two versions (tunnel and transport). The ip/ipv6 versions are only differ in sizeof(iphdr) vs ipv6hdr. Place this in the core and use x->outer_mode->encap type to call the correct adjustment helper. Before: text data bss dec filename 15730311 6937008 4046908 26714227 vmlinux After: 15730428 6937008 4046908 26714344 vmlinux (about 117 byte increase) v2: use family from x->outer_mode, not inner Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/esp4_offload.c')
0 files changed, 0 insertions, 0 deletions