netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] sit: ipip6_err: ICMP_PORT_UNREACH is a possible event
@ 2009-06-06 14:02 Sascha Hlusiak
  2009-06-06 14:02 ` [PATCH 2/3] sit: handle ICMPv4 for tunnels with no remote Sascha Hlusiak
  0 siblings, 1 reply; 6+ messages in thread
From: Sascha Hlusiak @ 2009-06-06 14:02 UTC (permalink / raw)
  To: netdev; +Cc: Sascha Hlusiak

Linux sends ICMP_DEST_UNREACH + ICMP_PORT_UNREACH itself in ipip6_rcv,
if no matching tunnel is found.

Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
---
 net/ipv6/sit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index b3a59bd..ba74094 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -494,7 +494,6 @@ static int ipip6_err(struct sk_buff *skb, u32 info)
 	case ICMP_DEST_UNREACH:
 		switch (code) {
 		case ICMP_SR_FAILED:
-		case ICMP_PORT_UNREACH:
 			/* Impossible event. */
 			return 0;
 		case ICMP_FRAG_NEEDED:
-- 
1.6.3.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-08 16:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 14:02 [PATCH 1/3] sit: ipip6_err: ICMP_PORT_UNREACH is a possible event Sascha Hlusiak
2009-06-06 14:02 ` [PATCH 2/3] sit: handle ICMPv4 for tunnels with no remote Sascha Hlusiak
2009-06-06 14:02   ` [PATCH 3/3] sit: Translate ICMPv4 errors to ICMPv6, if possible Sascha Hlusiak
2009-06-08  9:40   ` [PATCH 2/3] sit: handle ICMPv4 for tunnels with no remote David Miller
2009-06-08 14:13     ` mail
2009-06-08 16:46       ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).