diff options
author | David S. Miller <davem@davemloft.net> | 2013-10-28 20:07:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-28 20:07:50 -0400 |
commit | 5d9efa7ee99eed58388f186c13cf2e2a87e9ceb4 (patch) | |
tree | 789ab10091718b238342a7d2bf53524790869395 /include/net/if_inet6.h | |
parent | d5d45d429402c2d3de056a412d6e9bb41e58deb6 (diff) |
ipv6: Remove privacy config option.
The code for privacy extentions is very mature, and making it
configurable only gives marginal memory/code savings in exchange
for obfuscation and hard to read code via CPP ifdef'ery.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/if_inet6.h')
-rw-r--r-- | include/net/if_inet6.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 02ef7727bb5..76d54270f2e 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h @@ -66,11 +66,10 @@ struct inet6_ifaddr { struct hlist_node addr_lst; struct list_head if_list; -#ifdef CONFIG_IPV6_PRIVACY struct list_head tmp_list; struct inet6_ifaddr *ifpub; int regen_count; -#endif + bool tokenized; struct rcu_head rcu; @@ -192,11 +191,9 @@ struct inet6_dev { __u32 if_flags; int dead; -#ifdef CONFIG_IPV6_PRIVACY u8 rndid[8]; struct timer_list regen_timer; struct list_head tempaddr_list; -#endif struct in6_addr token; |