[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240710171246.87533-1-kuniyu@amazon.com>
Date: Wed, 10 Jul 2024 10:12:44 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, David Ahern <dsahern@...nel.org>
CC: Kuniyuki Iwashima <kuniyu@...zon.com>, Kuniyuki Iwashima
<kuni1840@...il.com>, <netdev@...r.kernel.org>
Subject: [PATCH v3 net-next 0/2] tcp: Make simultaneous connect() RFC-compliant.
Patch 1 fixes an issue that BPF TCP option parser is triggered for ACK
instead of SYN+ACK in the case of simultaneous connect().
Patch 2 removes an wrong assumption in tcp_ao/self-connnect tests.
v3:
* Use (sk->sk_state == TCP_SYN_RECV && sk->sk_socket) to detect cross SYN case
v2: https://lore.kernel.org/netdev/20240708180852.92919-1-kuniyu@amazon.com/
* Target net-next and remove Fixes: tag
* Don't skip bpf_skops_parse_hdr() to centralise sk_state check
* Remove unnecessary ACK after SYN+ACK
* Add patch 2
v1: https://lore.kernel.org/netdev/20240704035703.95065-1-kuniyu@amazon.com/
Kuniyuki Iwashima (2):
tcp: Don't drop SYN+ACK for simultaneous connect().
selftests: tcp: Remove broken SNMP assumptions for TCP AO self-connect
tests.
net/ipv4/tcp_input.c | 9 +++++++++
.../selftests/net/tcp_ao/self-connect.c | 18 ------------------
2 files changed, 9 insertions(+), 18 deletions(-)
--
2.30.2
Powered by blists - more mailing lists