]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: remove extract_output indirection from xfrm_state_afinfo
authorFlorian Westphal <fw@strlen.de>
Mon, 4 May 2020 08:06:08 +0000 (10:06 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 6 May 2020 07:40:08 +0000 (09:40 +0200)
commit285d9b85b6d102296f62866e680ae4eaf5928398
tree10f29b0f502ff31b6831254819ddc3e25f49a3bb
parentfcdffe60b6a81972952df264047d175e05b8edcf
xfrm: remove extract_output indirection from xfrm_state_afinfo

Move this to xfrm_output.c.  This avoids the state->extract_output
indirection.

This patch also removes the duplicated __xfrm6_extract_header helper
added in an earlier patch, we can now use the one from xfrm_inout.h .

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