]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9ce3285d79c4bef2738bdbef9d8cec535a293dc
tree426e9c4599ec81da15e72daf8b43def312297774
parent222ede66319451f9b4a74b5d680d859f666a39e7
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