Skip to content
Commit 3689107b authored by Aska Wu's avatar Aska Wu Committed by Anas Nashif
Browse files

net: tcp: First check sequence number



Previously, the connection will be reset easily due to a forged TCP
reset with a random sequence number.

As described in RFC793 p.69, we should check if the sequence number
falls into the receiver window at first.

Signed-off-by: default avatarAska Wu <aska.wu@linaro.org>
parent ba502927
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment