[IPV6] SNMP: Fix {In,Out}NoRoutes statistics.
commit612f09e8495ba656032f89147ab999ef2be9c360
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 13 Apr 2007 23:18:02 +0000 (13 16:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2007 23:18:02 +0000 (13 16:18 -0700)
tree16a0cb310eb6812383f57d3425ceeba6b34f9f52
parent661697f728d75302e1f661a58db2fcba71d5cbc9
[IPV6] SNMP: Fix {In,Out}NoRoutes statistics.

A packet which is being discarded because of no routes in the
forwarding path should not be counted as OutNoRoutes but as
InNoRoutes.
Additionally, on this occasion, a packet whose destinaion is
not valid should be counted as InAddrErrors separately.

Based on patch from Mitsuru Chinen <mitch@linux.vnet.ibm.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c