The TCP statistics shouldn't be located in the middle of the read_mostly section surrounded by sysctl values. Move EXPORT_SYMBOL next to data like other declarations near by. Signed-off-by: Stephen Hemminger --- net/ipv4/tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- net-2.6.22.orig/net/ipv4/tcp.c 2007-03-12 14:05:26.000000000 -0700 +++ net-2.6.22/net/ipv4/tcp.c 2007-03-12 14:06:08.000000000 -0700 @@ -271,7 +271,8 @@ int sysctl_tcp_fin_timeout __read_mostly = TCP_FIN_TIMEOUT; -DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics) __read_mostly; +DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics); +EXPORT_SYMBOL(tcp_statistics); atomic_t tcp_orphan_count = ATOMIC_INIT(0); @@ -2492,4 +2493,3 @@ EXPORT_SYMBOL(tcp_sendpage); EXPORT_SYMBOL(tcp_setsockopt); EXPORT_SYMBOL(tcp_shutdown); -EXPORT_SYMBOL(tcp_statistics); -- Stephen Hemminger - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html