]> 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)
commit0622ad62d15216527916d68288975bed11a5af43
treee69a2e2ede09ea3ebc7660d37e2af7c1c17f6997
parentafc6d8901a66afc5fa5a44b066012ff49fe99104
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