xfrm: avoid extract_output indirection for ipv4
authorFlorian Westphal <fw@strlen.de>
Mon, 4 May 2020 08:06:03 +0000 (10:06 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 6 May 2020 07:40:08 +0000 (09:40 +0200)
commit6d64be3da282908bb17b0803b9edad8852ffea56
tree426e9c4599ec81da15e72daf8b43def312297774
parent26333c37fc285e7372f1b9461f3ae0ba3dc699c9
xfrm: avoid extract_output indirection for ipv4

We can use a direct call for ipv4, so move the needed functions
to net/xfrm/xfrm_output.c and call them directly.

For ipv6 the indirection can be avoided as well but it will need
a bit more work -- to ease review it will be done in another patch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/ipv4/xfrm4_output.c
net/ipv4/xfrm4_state.c
net/xfrm/xfrm_output.c