mib: put ip statistics on struct net

Similar to tcp one.

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:42 -07:00
committed by David S. Miller
parent 57ef42d59d
commit a20f5799ca
5 changed files with 12 additions and 19 deletions

View File

@@ -144,12 +144,6 @@
#include <linux/mroute.h>
#include <linux/netlink.h>
/*
* SNMP management statistics
*/
DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics) __read_mostly;
/*
* Process Router Attention IP option
*/
@@ -447,5 +441,3 @@ drop:
out:
return NET_RX_DROP;
}
EXPORT_SYMBOL(ip_statistics);