ipv6: Export in6addr_any for use by modules.
Subsystems (3)
Some upcoming cifs code, could make use of this, at least.
Signed-off-by Ben Greear <[email protected]>
---
:100644 100644 ab70a3f... 735989a... M net/ipv6/addrconf.c
net/ipv6/addrconf.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
net/ipv6/addrconf.c +1 -0
@@ -230,6 +230,7 @@ static struct ipv6_devconf ipv6_devconf_dflt __read_mostly = {/* IPv6 Wildcard Address and Loopback Address defined by RFC2553 */ const struct in6_addr in6addr_any =IN6ADDR_ANY_INIT ; +EXPORT_SYMBOL (in6addr_any);const struct in6_addr in6addr_loopback =IN6ADDR_LOOPBACK_INIT ;const struct in6_addr in6addr_linklocal_allnodes =IN6ADDR_LINKLOCAL_ALLNODES_INIT ;const struct in6_addr in6addr_linklocal_allrouters =IN6ADDR_LINKLOCAL_ALLROUTERS_INIT ;
Signature · 1 line
1.6.2.5
Quoted 1 line · Ben Greear
Some upcoming cifs code, could make use of this, at least.
Actually, it's probably not worth the dependency on ipv6 for this small bit of code savings, so at least for cifs, this probably isn't useful.
Thanks,
Ben
Quoted 19 lines
Signed-off-by Ben Greear<[email protected]>---
:100644 100644 ab70a3f... 735989a... Mnet/ipv6/addrconf.cnet/ipv6/addrconf.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)net/ipv6/addrconf.c +1
-0@@ -230,6 +230,7 @@ static struct ipv6_devconf ipv6_devconf_dflt __read_mostly = {/* IPv6 Wildcard Address and Loopback Address defined by RFC2553 */ const struct in6_addr in6addr_any =IN6ADDR_ANY_INIT ; +EXPORT_SYMBOL (in6addr_any);const struct in6_addr in6addr_loopback =IN6ADDR_LOOPBACK_INIT ;const struct in6_addr in6addr_linklocal_allnodes =IN6ADDR_LINKLOCAL_ALLNODES_INIT ;const struct in6_addr in6addr_linklocal_allrouters =IN6ADDR_LINKLOCAL_ALLROUTERS_INIT ;
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
David Miller
maintainerFrom: Ben Greear <[email protected]>
Date: Tue, 31 Aug 2010 16:01:35 -0700
Quoted 6 lines · Ben Greear
Quoted 1 line
Some upcoming cifs code, could make use of this, at least.
Actually, it's probably not worth the dependency on ipv6 for this small bit of code savings, so at least for cifs, this probably isn't useful.
Completely agreed.