diff options
author | Cong Wang <amwang@redhat.com> | 2013-08-31 01:44:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-31 22:30:00 -0400 |
commit | 034dfc5df99eb8d263211524983b1a737b25c06b (patch) | |
tree | 9a47cd817d42cff6150d8768c2d59d33efdbba1a /net/ipv6/addrconf.c | |
parent | 5f81bd2e5d804ca93f3ec8873451b22d2f454721 (diff) |
ipv6: export in6addr_loopback to modules
It is needed by vxlan module. Noticed by Mike.
Cc: Mike Rapoport <mike.rapoport@ravellosystems.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index a7183fc9bbc2..619451336bf1 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -245,15 +245,6 @@ static struct ipv6_devconf ipv6_devconf_dflt __read_mostly = { | |||
245 | .suppress_frag_ndisc = 1, | 245 | .suppress_frag_ndisc = 1, |
246 | }; | 246 | }; |
247 | 247 | ||
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 | |||
257 | /* Check if a valid qdisc is available */ | 248 | /* Check if a valid qdisc is available */ |
258 | static inline bool addrconf_qdisc_ok(const struct net_device *dev) | 249 | static inline bool addrconf_qdisc_ok(const struct net_device *dev) |
259 | { | 250 | { |