]> git.baikalelectronics.ru Git - kernel.git/commit
[IPv4]: Reply net unreachable ICMP message
authorMitsuru Chinen <mitch@linux.vnet.ibm.com>
Fri, 7 Dec 2007 09:07:24 +0000 (01:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2007 09:07:24 +0000 (01:07 -0800)
commit45c3731636b69096d31c3929cf577732639b2ef8
tree9a0f0d7dcb2aba668f423b2f5392ab5ec290ec8f
parent42949e4602ff316611d03f8fb2dd9c4fe66e2316
[IPv4]: Reply net unreachable ICMP message

IPv4 stack doesn't reply any ICMP destination unreachable message
with net unreachable code when IP detagrams are being discarded
because of no route could be found in the forwarding path.
Incidentally, IPv6 stack replies such ICMPv6 message in the similar
situation.

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