diff options
author | 2024-05-10 20:25:02 +0800 | |
---|---|---|
committer | 2024-05-13 17:33:57 -0700 | |
commit | 11f46ea9814d2f0a3c7a5bc749d7619e47251f75 (patch) | |
tree | 8373b47f89ab0ff45b96e50fa17f4db5e078aaf0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tcp: rstreason: handle timewait cases in the receive path (diff) | |
download | wireguard-linux-11f46ea9814d2f0a3c7a5bc749d7619e47251f75.tar.xz wireguard-linux-11f46ea9814d2f0a3c7a5bc749d7619e47251f75.zip |
tcp: rstreason: fully support in tcp_check_req()
We're going to send an RST due to invalid syn packet which is already
checked whether 1) it is in sequence, 2) it is a retransmitted skb.
As RFC 793 says, if the state of socket is not CLOSED/LISTEN/SYN-SENT,
then we should send an RST when receiving bad syn packet:
"fourth, check the SYN bit,...If the SYN is in the window it is an
error, send a reset"
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Link: https://lore.kernel.org/r/20240510122502.27850-6-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions