]> err.no Git - linux-2.6/commit
[IPV6]: ICMP6_MIB_OUTMSGS increment duplicated
authorWang Chen <wangchen@cn.fujitsu.com>
Mon, 21 Jan 2008 11:04:47 +0000 (03:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2008 11:05:20 +0000 (03:05 -0800)
commitc964ff4ffbef4586ec63dbeb008563078114e6dc
treeb935d8c699f998e642a4e9e20b2e816cc3cd43bb
parent68365458a4252fa993b91a00f7a0b18fed399f0d
[IPV6]: ICMP6_MIB_OUTMSGS increment duplicated

icmpv6_send() calls ip6_push_pending_frames() indirectly.
Both ip6_push_pending_frames() and icmpv6_send() increment
counter ICMP6_MIB_OUTMSGS.

This patch remove the increment from icmpv6_send.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c