--- 2.3.18ac7-netlockup/net/ipv4/tcp.c.~1~ Tue Sep 21 19:54:59 1999 +++ 2.3.18ac7-netlockup/net/ipv4/tcp.c Tue Sep 21 19:59:04 1999 @@ -1471,6 +1471,9 @@ struct tcp_opt *tp = &(sk->tp_pinfo.af_tcp); struct open_request *req = tp->syn_wait_queue; + /* make all the syn_wait_queue list local to us */ + tcp_synq_init_bh(tp); + while(req) { struct open_request *iter; @@ -1491,7 +1494,6 @@ } BUG_TRAP(tp->syn_backlog == 0); BUG_TRAP(sk->ack_backlog == 0); - tcp_synq_init_bh(tp); } static __inline__ void tcp_kill_sk_queues(struct sock *sk)