]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
snmp: Remove duplicate OUTMCAST stat increment
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 16 Nov 2015 18:09:10 +0000 (13:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jan 2016 03:47:51 +0000 (19:47 -0800)
commit08f97ac765394b2370c311be1930553cd27d9245
tree1a98aea303364b482f15080cd696107cc1de18ac
parent3fb28c97238bc1ddd66229bb6d2bc07b2452c6ab
snmp: Remove duplicate OUTMCAST stat increment

[ Upstream commit 41033f029e393a64e81966cbe34d66c6cf8a2e7e ]

the OUTMCAST stat is double incremented, getting bumped once in the mcast code
itself, and again in the common ip output path.  Remove the mcast bump, as its
not needed

Validated by the reporter, with good results

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Reported-by: Claus Jensen <claus.jensen@microsemi.com>
CC: Claus Jensen <claus.jensen@microsemi.com>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/mcast.c