mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
net/tcp: ignore a RST control message in syn-send state
Ignore a RST control message in syn-send state Signed-off-by: wenquan1 <wenquan1@xiaomi.com>
This commit is contained in:
@@ -775,6 +775,10 @@ static void tcp_input(FAR struct net_driver_s *dev, uint8_t domain,
|
||||
goto reset;
|
||||
}
|
||||
}
|
||||
else if ((tcp->flags & TCP_RST) != 0)
|
||||
{
|
||||
goto drop;
|
||||
}
|
||||
}
|
||||
|
||||
/* RFC793, 1) page 37 Reset Processing: "In all states except
|
||||
|
||||
Reference in New Issue
Block a user