--- linux-2.4.19/net/ipv4/tcp_input.c Mon Nov 4 11:32:28 2002 +++ linux-2.4.19.SuSE/net/ipv4/tcp_input.c Mon Nov 4 11:37:10 2002 @@ -3664,6 +3664,9 @@ goto discard; case TCP_LISTEN: + if(th->rst || th->fin) + goto discard; + if(th->ack) return 1;