NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48283: Drops FIN + ACK mistakenly



The following reply was made to PR kern/48283; it has been noted by GNATS.

From: YASUOKA Masahiko <yasuoka%iij.ad.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost
Cc: 
Subject: Re: kern/48283: Drops FIN + ACK mistakenly
Date: Wed, 09 Oct 2013 17:46:47 +0900 (JST)

 Since actively opened sockets have same problem, they should be fixed
 as well.
 
 Index: tcp_seq.h
 ===================================================================
 RCS file: /cvs/netbsd/src/sys/netinet/tcp_seq.h,v
 retrieving revision 1.16
 diff -u -p -r1.16 tcp_seq.h
 --- tcp_seq.h  10 Dec 2005 23:36:23 -0000      1.16
 +++ tcp_seq.h  9 Oct 2013 08:18:36 -0000
 @@ -58,7 +58,7 @@
  
  #define       tcp_sendseqinit(tp) \
        (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
 -          (tp)->snd_recover = (tp)->snd_high = (tp)->iss
 +          (tp)->snd_recover = (tp)->snd_high = (tp)->snd_fack = (tp)->iss
  
  #define TCP_ISS_RANDOM_MASK 0x00ffffff /* bits of randomness in a TCP ISS */
  #define TCP_ISSINCR         0x01000000 /* increment per time and per conn */
 


Home | Main Index | Thread Index | Old Index