> > Some quick testing reveals that 2.2.2-ac7 ignores ICMP host unreachable
> > packets when *initiating* a TCP connection:
> [...]
>
> This (untested) patch should fix it.
>
> --- linux/net/ipv4/tcp_ipv4.c-o Thu Mar 4 07:36:35 1999
> +++ linux/net/ipv4/tcp_ipv4.c Thu Mar 4 19:56:39 1999
> @@ -808,7 +808,7 @@
>
> tp = &sk->tp_pinfo.af_tcp;
> seq = ntohl(th->seq);
> - if (sk->state != TCP_LISTEN && !between(seq, tp->snd_una, tp->snd_nxt)) {
> + if (sk->state != TCP_LISTEN && !between(seq, tp->snd_una, tp->snd_nxt+1)) {
> net_statistics.OutOfWindowIcmps++;
> return;
> }
>
>
> Does it fix the problem for you?
Nope.
It doesn't change anything observed in my previous Case-{1234} posting.
Greetings,
Rob van Nieuwkerk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/