tcp: Fix bind() regression for v4-mapped-v6 address
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 7 repliesApplied 6/6
- v15 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* Added patch 1 to factorise duplicated comparison (Eric Dumazet)
Patches in v2 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).net/ | +13 | 1 reply | Applied |
| 2/6 | tcp: Fix bind() regression for v4-mapped-v6 wildcard address.include/ net/ | +7 | 1 reply | Applied |
| 3/6 | tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.net/ | +6 | 4 replies | Applied |
| 4/6 | selftest: tcp: Fix address length in bind_wildcard.c.tools/ | +1 | 0 replies | Applied |
| 5/6 | selftest: tcp: Move expected_errno into each test case in bind_wildcard.c.tools/ | +10 | 0 replies | Applied |
| 6/6 | selftest: tcp: Add v4-mapped-v6 cases in bind_wildcard.c.tools/ | +46 | 0 replies | Applied |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Martin KaFai Lau | Eric Dumazet | Andrei Vagin |
|---|---|---|---|
| Series | A-b | ||
| 1/6 | R-b | ||
| 2/6 | R-b | ||
| 3/6 | R-b | A-b | |
| 4/6 | |||
| 5/6 | |||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 net 0/6] tcp: Fix bind() regression for v4-mapped-v6 address
Since bhash2 was introduced, bind() is broken in two cases related to v4-mapped-v6 address.
This series fixes the regression and adds test to cover the cases.
Changes:
v2:
* Added patch 1 to factorise duplicated comparison (Eric Dumazet)
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (6):
tcp: Factorise sk_family-independent comparison in
inet_bind2_bucket_match(_addr_any).
tcp: Fix bind() regression for v4-mapped-v6 wildcard address.
tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.
selftest: tcp: Fix address length in bind_wildcard.c.
selftest: tcp: Move expected_errno into each test case in
bind_wildcard.c.
selftest: tcp: Add v4-mapped-v6 cases in bind_wildcard.c.
include/net/ipv6.h | 5 ++ net/ipv4/inet_hashtables.c | 36 ++++++----- tools/testing/selftests/net/bind_wildcard.c | 68 +++++++++++++++++---- 3 files changed, 82 insertions(+), 27 deletions(-)
Signature · 1 line
2.30.2