]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/route.c
[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)
commit7f53878dc2618bf7c01e2135bd271ac01bd85dc9
tree9a0f0d7dcb2aba668f423b2f5392ab5ec290ec8f
parentca46f9c834913fc5d5c196d70673375cdaba6b56
[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