Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipv6: make struct ipv6_devconf static

struct ipv6_devconf can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Adrian Bunk and committed by
David S. Miller
888c848e 4d6971e9

+1 -3
-2
include/net/if_inet6.h
··· 193 193 struct rcu_head rcu; 194 194 }; 195 195 196 - extern struct ipv6_devconf ipv6_devconf; 197 - 198 196 static inline void ipv6_eth_mc_map(struct in6_addr *addr, char *buf) 199 197 { 200 198 /*
+1 -1
net/ipv6/addrconf.c
··· 153 153 154 154 static ATOMIC_NOTIFIER_HEAD(inet6addr_chain); 155 155 156 - struct ipv6_devconf ipv6_devconf __read_mostly = { 156 + static struct ipv6_devconf ipv6_devconf __read_mostly = { 157 157 .forwarding = 0, 158 158 .hop_limit = IPV6_DEFAULT_HOPLIMIT, 159 159 .mtu6 = IPV6_MIN_MTU,