tcp: Misc fixes for tcp_v[46]_err().
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | tcp: Don't accept ICMP for SND.NXT in TCP_SYN_SENT.net/ net/ | +12 | 2 replies | |
| 2/8 | tcp: Don't use inner IP TTL for IP_MINTTL in tcp_v4_err().net/ | +1 | 2 replies | |
| 3/8 | tcp: Don't bypass GTSM check for reqsk.net/ net/ | +22 | 2 replies | |
| 4/8 | tcp: Fix reqsk abort condition on ICMP errors.net/ net/ | +4 | 2 replies | |
| 5/8 | tcp: Check ip_sk_accept_pmtu() in tcp_v4_err().net/ | +3 | 1 reply | |
| 6/8 | selftest: net: packetdrill: Add ICMP and ICMPv6 tests.tools/ tools/ | +209 | 2 replies | |
| 7/8 | tcp: Pass inet_sdif() to __inet_lookup_established() in tcp_v4_err().net/ | +2 | 2 replies | |
| 8/8 | tcp: Pass inet6_iif() to __inet6_lookup_established() in tcp_v6_err().net/ | +1 | 2 replies |
Reviews trailers per patch
5 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet | David Ahern |
|---|---|---|
| 1/8 | ||
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | ||
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | R-b | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 net 0/8] tcp: Misc fixes for tcp_v[46]_err().
A packetdrill-equipped LLM found a bunch of bugs with repro.
This is the first series fixing bugs in tcp_v4_err() and tcp_v6_err().
Patches 1-5, 7, and 8 are fixes, and Patch 6 is a selftest for the bugs fixed by Patches 1-5.
Kuniyuki Iwashima (8):
tcp: Don't accept ICMP for SND.NXT in TCP_SYN_SENT.
tcp: Don't use inner IP TTL for IP_MINTTL in tcp_v4_err().
tcp: Don't bypass GTSM check for reqsk.
tcp: Fix reqsk abort condition on ICMP errors.
tcp: Check ip_sk_accept_pmtu() in tcp_v4_err().
selftest: net: packetdrill: Add ICMP and ICMPv6 tests.
tcp: Pass inet_sdif() to __inet_lookup_established() in tcp_v4_err().
tcp: Pass inet6_iif() to __inet6_lookup_established() in tcp_v6_err().
net/ipv4/tcp_ipv4.c | 42 ++++--- net/ipv6/tcp_ipv6.c | 33 ++++-- .../net/packetdrill/tcp_icmp_ipv4.pkt | 98 ++++++++++++++++ .../net/packetdrill/tcp_icmp_ipv6.pkt | 111 ++++++++++++++++++ 4 files changed, 253 insertions(+), 31 deletions(-) create mode 100644 tools/testing/selftests/net/packetdrill/tcp_icmp_ipv4.pkt create mode 100644 tools/testing/selftests/net/packetdrill/tcp_icmp_ipv6.pkt
Signature · 1 line
2.56.0.679.gc527c65306-goog