]> git.baikalelectronics.ru Git - kernel.git/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)
commite3403de5dfe21c5b783e34e48d460617ac3fc561
treeb935d8c699f998e642a4e9e20b2e816cc3cd43bb
parent27bb4606de3fadac5556840fc5beb936813939fa
[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