forked from KolibriOS/kolibrios
TCP: dont accept out of order FINs.
git-svn-id: svn://kolibrios.org@6915 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5b5249a5d6
commit
f8148f187a
@ -1694,12 +1694,14 @@ endl
|
|||||||
|
|
||||||
; Uh-oh, some data is out of order, lets call TCP reassemble for help
|
; Uh-oh, some data is out of order, lets call TCP reassemble for help
|
||||||
|
|
||||||
call tcp_reassemble
|
call tcp_reassemble ;;; TODO!
|
||||||
|
|
||||||
; Generate ACK immediately, to let the other end know that a segment was received out of order,
|
; Generate ACK immediately, to let the other end know that a segment was received out of order,
|
||||||
; and to tell it what sequence number is expected. This aids the fast-retransmit algorithm.
|
; and to tell it what sequence number is expected. This aids the fast-retransmit algorithm.
|
||||||
|
|
||||||
or [ebx + TCP_SOCKET.t_flags], TF_ACKNOW
|
or [ebx + TCP_SOCKET.t_flags], TF_ACKNOW
|
||||||
|
|
||||||
|
jmp .final_processing ;;; HACK because of unimplemented reassembly queue!
|
||||||
.data_done:
|
.data_done:
|
||||||
|
|
||||||
;-----------------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user