diff options
| author | Florian Westphal <[email protected]> | 2020-05-04 08:06:06 +0000 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2020-05-06 07:40:08 +0000 |
| commit | 3e50ddd8b8d5067796fc87cbbb25c71451ccb385 (patch) | |
| tree | 4e392af245ec8a868c20fe0a118a955fd5c41105 /net/ipv6/xfrm6_output.c | |
| parent | xfrm: move xfrm4_extract_header to common helper (diff) | |
| download | kernel-3e50ddd8b8d5067796fc87cbbb25c71451ccb385.tar.gz kernel-3e50ddd8b8d5067796fc87cbbb25c71451ccb385.zip | |
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 <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
| -rw-r--r-- | net/ipv6/xfrm6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c index 855078a43fc7..23e2b52cfba6 100644 --- a/net/ipv6/xfrm6_output.c +++ b/net/ipv6/xfrm6_output.c @@ -40,7 +40,7 @@ static int xfrm6_local_dontfrag(struct sk_buff *skb) return 0; } -static void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu) +void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu) { struct flowi6 fl6; struct sock *sk = skb->sk; |
