xfrm: expose local_rxpmtu via ipv6_stubs
authorFlorian Westphal <fw@strlen.de>
Mon, 4 May 2020 08:06:06 +0000 (10:06 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 6 May 2020 07:40:08 +0000 (09:40 +0200)
commit3e50ddd8b8d5067796fc87cbbb25c71451ccb385
tree4e392af245ec8a868c20fe0a118a955fd5c41105
parent171916cbd53dec5c7b05efb56a201671d92effc1
xfrm: expose local_rxpmtu via ipv6_stubs

We cannot call this function from the core kernel unless we would force
CONFIG_IPV6=y.

Therefore expose this via ipv6_stubs so we can call it from net/xfrm
in the followup patch.

Since the call is expected to be unlikely, no extra code for the IPV6=y
case is added and we will always eat the indirection cost.

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