Skip to content
Commit 7b514a88 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

tcp: accept RST without ACK flag



commit c3ae62af (tcp: should drop incoming frames without ACK flag
set) added a regression on the handling of RST messages.

RST should be allowed to come even without ACK bit set. We validate
the RST by checking the exact sequence, as requested by RFC 793 and
5961 3.2, in tcp_validate_incoming()

Reported-by: default avatarEric Wong <normalperson@yhbt.net>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarNeal Cardwell <ncardwell@google.com>
Tested-by: default avatarEric Wong <normalperson@yhbt.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb59c87d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment