mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
Fix TCP RST ACK loop bug.
This commit is contained in:
parent
dc66f78d51
commit
5a145ef081
3 changed files with 4 additions and 4 deletions
Binary file not shown.
|
@ -277,8 +277,8 @@ I64 TCPHandleRefuse(CIPV4Packet *packet, CTCPHeader *header, I64 length)
|
|||
|
||||
// review RFC Reset-Generation ...
|
||||
|
||||
if (Bt(&header->flags, TCPf_RST) && Bt(&header->flags, TCPf_ACK))
|
||||
return 0; // bail: we probably sent an RST earlier, and this is the acknowledgement
|
||||
if (Bt(&header->flags, TCPf_RST))
|
||||
return 0; // bail: don't respond to a reset for a connection that doesn't exist
|
||||
|
||||
de_index = TCPSend(packet->destination_ip_address,
|
||||
EndianU16(header->destination_port),
|
||||
|
|
|
@ -15,8 +15,8 @@ U0 LoadDocDefines()
|
|||
//$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$
|
||||
|
||||
$TR,"LineRep"$
|
||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","95,265");
|
||||
$ID,-2$
|
||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","95,269");
|
||||
$ID,-2$
|
||||
DefinePrint("DD_MP_VECT", "%08X", MP_VECT_ADDR);
|
||||
DefinePrint("DD_MP_VECT_END", "%08X", MP_VECT_ADDR + COREAP_16BIT_INIT_END - COREAP_16BIT_INIT - 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue