lkml.org 
[lkml]   [1999]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.2.2-ac7 TCP ignores ICMP host unreachable ??
Date
From

Hi Andi,

> > 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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.086 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site