diff options
author | Florian Westphal <fw@strlen.de> | 2020-05-04 10:06:05 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-05-06 09:40:08 +0200 |
commit | 171916cbd53dec5c7b05efb56a201671d92effc1 (patch) | |
tree | d4e2e497d945076a847c10b861653da590f75127 /include/net/ipv6_stubs.h | |
parent | xfrm: state: remove extract_input indirection from xfrm_state_afinfo (diff) | |
download | linux-171916cbd53dec5c7b05efb56a201671d92effc1.tar.xz linux-171916cbd53dec5c7b05efb56a201671d92effc1.zip |
xfrm: move xfrm4_extract_header to common helper
The function only initializes the XFRM CB in the skb.
After previous patch xfrm4_extract_header is only called from
net/xfrm/xfrm_{input,output}.c.
Because of IPV6=m linker errors the ipv6 equivalent
(xfrm6_extract_header) was already placed in xfrm_inout.h because
we can't call functions residing in a module from the core.
So do the same for the ipv4 helper and place it next to the ipv6 one.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/ipv6_stubs.h')
0 files changed, 0 insertions, 0 deletions