[IPv6] SNMP: Increment OutNoRoutes when connecting to unreachable network
authorMitsuru Chinen <mitch@linux.vnet.ibm.com>
Thu, 6 Dec 2007 06:31:47 +0000 (22:31 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 7 Dec 2007 09:06:30 +0000 (01:06 -0800)
commitca46f9c834913fc5d5c196d70673375cdaba6b56
treef073198141ef0df8bbc4d460755cead5a1b50447
parent73afc9069289bdb77cf0c81cb9775dcb63894bbe
[IPv6] SNMP: Increment OutNoRoutes when connecting to unreachable network

IPv6 stack doesn't increment OutNoRoutes counter when IP datagrams
is being discarded because no route could be found to transmit them
to their destination. IPv6 stack should increment the counter.
Incidentally, IPv4 stack increments that counter in such situation.

Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c