net: Disallow buggy TCP transitions and IPV6_ADDRFORM.
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tcp: Do not allow buggy transitions between ehash and lhash2.include/ net/ net/ | +13 | 3 replies | Applied |
| 2/2 | ipv6: Remove IPV6_ADDRFORM.include/ net/ net/ +2 more | +2 | 2 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Abeni | Jakub Sitnicki |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 net-next 0/2] net: Disallow buggy TCP transitions and IPV6_ADDRFORM.
The following operations have recently received a lot of AI-driven bug reports:
* listen() + shutdown() + connect()
* connect() + connect(AF_UNSPEC) + listen()
* setsockopt(IPV6_ADDRFORM)
They are not worth fixing by churning the fast path, so this series disallows the transitions and removes IPV6_ADDRFORM.
https://lore.kernel.org/netdev/CANn89i+px52TtJy3S9=uHxGj3s-WueguRo1Z_4FxO=02KLmwmQ@mail.gmail.com/
https://lore.kernel.org/netdev/[email protected]/
I did not add Fixes tags, but if we want to backport, the tag would be:
Kuniyuki Iwashima (2):
tcp: Do not allow buggy transitions between ehash and lhash2.
ipv6: Remove IPV6_ADDRFORM.
include/linux/net.h | 2 +- include/net/inet_connection_sock.h | 1 + net/core/sock.c | 4 +- net/ipv4/af_inet.c | 3 -- net/ipv4/inet_connection_sock.c | 1 + net/ipv4/inet_hashtables.c | 11 ++++ net/ipv6/af_inet6.c | 4 -- net/ipv6/ipv6_sockglue.c | 87 ------------------------------ 8 files changed, 15 insertions(+), 98 deletions(-)
Signature · 1 line
2.55.0.1003.g10538fe699-goog