[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240326204251.51301-1-kuniyu@amazon.com>
Date: Tue, 26 Mar 2024 13:42:43 -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: Joanne Koong <joannelkoong@...il.com>, Jianguo Wu <wujianguo106@....com>,
Kuniyuki Iwashima <kuniyu@...zon.com>, Kuniyuki Iwashima
<kuni1840@...il.com>, <netdev@...r.kernel.org>
Subject: [PATCH v2 net 0/8] tcp: Fix bind() regression and more tests.
bhash2 has not been well tested for IPV6_V6ONLY option.
This series fixes two regression around IPV6_V6ONLY, one of which
has been there since bhash2 introduction, and another is introduced
by a recent change.
Also, this series adds as many tests as possible to catch regression
easily. The baseline is 28044fc1d495~ which is pre-bhash2 commit.
Tested on 28044fc1d495~:
# PASSED: 132 / 132 tests passed.
# Totals: pass:132 fail:0 xfail:0 xpass:0 skip:0 error:0
net.git:
# FAILED: 125 / 132 tests passed.
# Totals: pass:125 fail:7 xfail:0 xpass:0 skip:0 error:0
With this series:
# PASSED: 132 / 132 tests passed.
# Totals: pass:132 fail:0 xfail:0 xpass:0 skip:0 error:0
Changes:
v2:
* Patch 1: Fix build error when IPV6=n
v1: https://lore.kernel.org/netdev/20240325181923.48769-1-kuniyu@amazon.com/
Kuniyuki Iwashima (8):
tcp: Fix bind() regression for v6-only wildcard and v4-mapped-v6
non-wildcard addresses.
tcp: Fix bind() regression for v6-only wildcard and v4(-mapped-v6)
non-wildcard addresses.
selftest: tcp: Make bind() selftest flexible.
selftest: tcp: Define the reverse order bind() tests explicitly.
selftest: tcp: Add v4-v4 and v6-v6 bind() conflict tests.
selftest: tcp: Add more bind() calls.
selftest: tcp: Add bind() tests for IPV6_V6ONLY.
selftest: tcp: Add bind() tests for SO_REUSEADDR/SO_REUSEPORT.
net/ipv4/inet_connection_sock.c | 30 +-
tools/testing/selftests/net/bind_wildcard.c | 783 ++++++++++++++++++--
2 files changed, 736 insertions(+), 77 deletions(-)
--
2.30.2
Powered by blists - more mailing lists