]> git.baikalelectronics.ru Git - kernel.git/commit
snmp: Remove duplicate OUTMCAST stat increment
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 16 Nov 2015 18:09:10 +0000 (13:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2015 21:36:32 +0000 (16:36 -0500)
commit139bc234b21ed9b5f7f1e14273b05e507371fef8
treee69a2e2ede09ea3ebc7660d37e2af7c1c17f6997
parent0a62264842ac234befad0b1ec8138b0c1957e9b2
snmp: Remove duplicate OUTMCAST stat increment

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>
net/ipv6/mcast.c