patch-2.1.93 linux/include/net/tcp.h

Next file: linux/init/main.c
Previous file: linux/include/net/sock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.92/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -941,6 +941,9 @@
 	(*window_clamp) = min(65535<<(*rcv_wscale),*window_clamp);
 }
 
+/* Do new listen semantics */
+#define TCP_NEW_LISTEN
+
 extern __inline__ void tcp_synq_unlink(struct tcp_opt *tp, struct open_request *req, struct open_request *prev)
 {
 	if(!req->dl_next)
@@ -959,20 +962,6 @@
 {
 	tp->syn_wait_queue = NULL;
 	tp->syn_wait_last = &tp->syn_wait_queue;
-}
-
-extern __inline__ struct open_request *tcp_synq_unlink_tail(struct tcp_opt *tp)
-{
-	struct open_request *head = tp->syn_wait_queue;
-#if 0
-	/* Should be a net-ratelimit'd thing, not all the time. */
-	printk(KERN_DEBUG "synq tail drop with expire=%ld\n", 
-	       head->expires-jiffies);
-#endif
-	if (head->dl_next == NULL)
-		tp->syn_wait_last = &tp->syn_wait_queue;
-	tp->syn_wait_queue = head->dl_next;
-	return head;
 }
 
 extern void __tcp_inc_slow_timer(struct tcp_sl_timer *slt);

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