Commit 27c565ae authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

ipv6: remove IN6_ADDR_HSIZE from addrconf.h

IN6_ADDR_HSIZE is private to addrconf.c, move it here to avoid
confusion.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent df7e8e2e
...@@ -59,9 +59,6 @@ struct in6_validator_info { ...@@ -59,9 +59,6 @@ struct in6_validator_info {
struct netlink_ext_ack *extack; struct netlink_ext_ack *extack;
}; };
#define IN6_ADDR_HSIZE_SHIFT 8
#define IN6_ADDR_HSIZE (1 << IN6_ADDR_HSIZE_SHIFT)
int addrconf_init(void); int addrconf_init(void);
void addrconf_cleanup(void); void addrconf_cleanup(void);
......
...@@ -157,6 +157,8 @@ static int ipv6_generate_stable_address(struct in6_addr *addr, ...@@ -157,6 +157,8 @@ static int ipv6_generate_stable_address(struct in6_addr *addr,
u8 dad_count, u8 dad_count,
const struct inet6_dev *idev); const struct inet6_dev *idev);
#define IN6_ADDR_HSIZE_SHIFT 8
#define IN6_ADDR_HSIZE (1 << IN6_ADDR_HSIZE_SHIFT)
/* /*
* Configured unicast address hash table * Configured unicast address hash table
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment