* [PATCH] IP6 Fragment: Export ip6_fragment function
@ 2018-02-28 21:28 Sheena Mira-ato
2018-03-01 3:23 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sheena Mira-ato @ 2018-02-28 21:28 UTC (permalink / raw)
To: netdev; +Cc: Sheena Mira-ato
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] IP6 Fragment: Export ip6_fragment function
2018-02-28 21:28 [PATCH] IP6 Fragment: Export ip6_fragment function Sheena Mira-ato
@ 2018-03-01 3:23 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-03-01 3:23 UTC (permalink / raw)
To: sheena.mira-ato; +Cc: netdev
From: Sheena Mira-ato <sheena.mira-ato@alliedtelesis.co.nz>
Date: Thu, 1 Mar 2018 10:28:40 +1300
> Export the ip6_fragment function so other loadable kernel
> modules can access it. The ipv4 version is already
> exported.
Missing an appropriate signoff.
And there is no reason to export a function until there is
an in-tree user.
We do not export symbols for the sake of out-of-tree code,
sorry.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-01 3:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28 21:28 [PATCH] IP6 Fragment: Export ip6_fragment function Sheena Mira-ato
2018-03-01 3:23 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).