mib: put tcp statistics on struct net

Proc temporary uses stats from init_net.

BTW, TCP_XXX_STATS are beautiful (w/o do { } while (0) facing) again :)

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Pavel Emelyanov
2008-07-18 04:02:08 -07:00
committed by David S. Miller
parent 9b4661bd6e
commit 57ef42d59d
5 changed files with 16 additions and 17 deletions

View File

@@ -4,6 +4,7 @@
#include <net/snmp.h>
struct netns_mib {
DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
};
#endif