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:

committed by
David S. Miller

parent
9b4661bd6e
commit
57ef42d59d
@@ -4,6 +4,7 @@
|
||||
#include <net/snmp.h>
|
||||
|
||||
struct netns_mib {
|
||||
DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user