CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/04/16 09:45:58

Modified files:
        sys/netinet    : tcp_input.c 

Log message:
Properly handle the FIN flag in tcp_flush_queue.

Once a FIN packet is received all following data should simply be
discarded.  Normally this is done in tcp_input but once traffic
needs reassembly the FIN handling in the reassembly queue was not
quite correct. Data directly following the FIN packet was also
reassembled and the FIN was actually lost. The check if packets
should be dropped only checked for SS_CANTRCVMORE which is only
set after tcp_flush_queue returned TH_FIN.

Reported by Xint Code
OK sashan@ deraadt@

Reply via email to