Patchwork ipv6: remove stale MIB definitions

login
register
mail settings
Submitter Alexey Dobriyan
Date Feb. 18, 2010, 6:12 p.m.
Message ID <20100218181220.GA21184@x200>
Download mbox | patch
Permalink /patch/45786/
State Accepted
Delegated to: David Miller
Headers show

Comments

Alexey Dobriyan - Feb. 18, 2010, 6:12 p.m.
ICMP6 MIB statistics was per-netns for quite a time.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 net/ipv6/icmp.c |    5 -----
 1 file changed, 5 deletions(-)

--
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
David Miller - Feb. 18, 2010, 10:30 p.m.
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Thu, 18 Feb 2010 20:12:20 +0200

> ICMP6 MIB statistics was per-netns for quite a time.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Applied.
--
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

Patch

--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -67,11 +67,6 @@ 
 #include <asm/uaccess.h>
 #include <asm/system.h>
 
-DEFINE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics) __read_mostly;
-EXPORT_SYMBOL(icmpv6_statistics);
-DEFINE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics) __read_mostly;
-EXPORT_SYMBOL(icmpv6msg_statistics);
-
 /*
  *	The ICMP socket(s). This is the most convenient way to flow control
  *	our ICMP output as well as maintain a clean interface throughout