File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,15 +245,6 @@ static struct ipv6_devconf ipv6_devconf_dflt __read_mostly = {
245245 .suppress_frag_ndisc = 1 ,
246246};
247247
248- /* IPv6 Wildcard Address and Loopback Address defined by RFC2553 */
249- const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT ;
250- const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT ;
251- const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT ;
252- const struct in6_addr in6addr_linklocal_allrouters = IN6ADDR_LINKLOCAL_ALLROUTERS_INIT ;
253- const struct in6_addr in6addr_interfacelocal_allnodes = IN6ADDR_INTERFACELOCAL_ALLNODES_INIT ;
254- const struct in6_addr in6addr_interfacelocal_allrouters = IN6ADDR_INTERFACELOCAL_ALLROUTERS_INIT ;
255- const struct in6_addr in6addr_sitelocal_allrouters = IN6ADDR_SITELOCAL_ALLROUTERS_INIT ;
256-
257248/* Check if a valid qdisc is available */
258249static inline bool addrconf_qdisc_ok (const struct net_device * dev )
259250{
Original file line number Diff line number Diff line change @@ -101,3 +101,19 @@ EXPORT_SYMBOL(inet6addr_notifier_call_chain);
101101
102102const struct ipv6_stub * ipv6_stub __read_mostly ;
103103EXPORT_SYMBOL_GPL (ipv6_stub );
104+
105+ /* IPv6 Wildcard Address and Loopback Address defined by RFC2553 */
106+ const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT ;
107+ EXPORT_SYMBOL (in6addr_loopback );
108+ const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT ;
109+ EXPORT_SYMBOL (in6addr_any );
110+ const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT ;
111+ EXPORT_SYMBOL (in6addr_linklocal_allnodes );
112+ const struct in6_addr in6addr_linklocal_allrouters = IN6ADDR_LINKLOCAL_ALLROUTERS_INIT ;
113+ EXPORT_SYMBOL (in6addr_linklocal_allrouters );
114+ const struct in6_addr in6addr_interfacelocal_allnodes = IN6ADDR_INTERFACELOCAL_ALLNODES_INIT ;
115+ EXPORT_SYMBOL (in6addr_interfacelocal_allnodes );
116+ const struct in6_addr in6addr_interfacelocal_allrouters = IN6ADDR_INTERFACELOCAL_ALLROUTERS_INIT ;
117+ EXPORT_SYMBOL (in6addr_interfacelocal_allrouters );
118+ const struct in6_addr in6addr_sitelocal_allrouters = IN6ADDR_SITELOCAL_ALLROUTERS_INIT ;
119+ EXPORT_SYMBOL (in6addr_sitelocal_allrouters );
You can’t perform that action at this time.
0 commit comments