patch-2.1.28 linux/net/ipv4/tcp_input.c

Next file: linux/net/ipv4/tcp_ipv4.c
Previous file: linux/net/ipv4/tcp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.27/linux/net/ipv4/tcp_input.c linux/net/ipv4/tcp_input.c
@@ -21,12 +21,6 @@
  */
 
 /*
- *	TODO
- *		- A better sock cache
- *
- */
-
-/*
  * Changes:
  *		Pedro Roque	:	Fast Retransmit/Recovery.
  *					Two receive queues.
@@ -1333,7 +1327,6 @@
 
 	if(th->syn && skb->seq != sk->syn_seq)
 	{
-		printk(KERN_DEBUG "syn in established state\n");
 		tcp_reset(sk, skb);
 		kfree_skb(skb, FREE_READ);
 		return 1;
@@ -1409,7 +1402,7 @@
 
 	/*
 	 *	state == CLOSED
-	 *	tested in tcp_v{4,6}_rcv
+	 *	Hash lookup always fails, so no worries. -DaveM 
 	 */
 
 	switch (sk->state) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov