xfrm: ipv6: move mip6_rthdr_offset into xfrm core
authorFlorian Westphal <fw@strlen.de>
Fri, 11 Jun 2021 10:50:12 +0000 (12:50 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 11 Jun 2021 12:48:50 +0000 (14:48 +0200)
commit848b18fb7fbd2fa5bc4fc2263bb69956fb86120d
treecf5087cba7fa96549664c68223e46d68de845140
parent37b9e7eb55659b270f0e8aebd98308716d935586
xfrm: ipv6: move mip6_rthdr_offset into xfrm core

Place the call into the xfrm core.  After this all remaining users
set the hdr_offset function pointer to the same function which opens
the possiblity to remove the indirection.

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