diff mbox

[1/3] sit: ipip6_err: ICMP_PORT_UNREACH is a possible event

Message ID 1244296972-20748-1-git-send-email-contact@saschahlusiak.de
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Sascha Hlusiak June 6, 2009, 2:02 p.m. UTC
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 mbox

Patch

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: