aboutsummaryrefslogtreecommitdiff
path: root/pfinet/linux-src/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux-src/net/ipv6/tcp_ipv6.c')
-rw-r--r--pfinet/linux-src/net/ipv6/tcp_ipv6.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pfinet/linux-src/net/ipv6/tcp_ipv6.c b/pfinet/linux-src/net/ipv6/tcp_ipv6.c
index e9d1d079..85a5ab27 100644
--- a/pfinet/linux-src/net/ipv6/tcp_ipv6.c
+++ b/pfinet/linux-src/net/ipv6/tcp_ipv6.c
@@ -5,7 +5,7 @@
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
- * $Id: tcp_ipv6.c,v 1.1 2007/10/08 21:12:31 stesie Exp $
+ * $Id: tcp_ipv6.c,v 1.2 2007/10/08 21:59:10 stesie Exp $
*
* Based on:
* linux/net/ipv4/tcp.c
@@ -103,7 +103,10 @@ static int tcp_v6_get_port(struct sock *sk, unsigned short snum)
if (tb->port == rover)
goto next;
break;
+
next:
+ (void) 0;
+
} while (--remaining > 0);
tcp_port_rover = rover;
@@ -1426,6 +1429,7 @@ int tcp_v6_rcv(struct sk_buff *skb, unsigned long len)
}
default:
/* CHECKSUM_UNNECESSARY */
+ break;
};
if((th->doff * 4) < sizeof(struct tcphdr) ||