Export the ip6_fragment function so other loadable kernel
modules can access it.  The ipv4 version is already
exported.
---
 net/ipv6/ip6_output.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 997c7f19ad62..8604031f0a93 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -887,6 +887,7 @@ int ip6_fragment(struct net *net, struct sock *sk, struct 
sk_buff *skb,
        kfree_skb(skb);
        return err;
 }
+EXPORT_SYMBOL(ip6_fragment);
 
 static inline int ip6_rt_check(const struct rt6key *rt_key,
                               const struct in6_addr *fl_addr,
-- 
2.16.2

Reply via email to