tcp: receiver changes
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 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | tcp: do not accept packets beyond windowinclude/ net/ | +23 | 2 replies | Applied |
| 2/8 | tcp: add LINUX_MIB_BEYOND_WINDOWDocumentation/ include/ include/ +2 more | +6 | 1 reply | Applied |
| 3/8 | selftests/net: packetdrill: add tcp_rcv_big_endseq.pkttools/ | +44 | 1 reply | Applied |
| 4/8 | tcp: call tcp_measure_rcv_mss() for ooo packetsnet/ | +1 | 1 reply | Applied |
| 5/8 | selftests/net: packetdrill: add tcp_ooo_rcv_mss.pkttools/ | +27 | 1 reply | Applied |
| 6/8 | tcp: add const to tcp_try_rmem_schedule() and sk_rmem_schedule() skbinclude/ net/ | +2 | 1 reply | Applied |
| 7/8 | tcp: stronger sk_rcvbuf checksnet/ | +16 | 12 replies | Applied |
| 8/8 | selftests/net: packetdrill: add tcp_rcv_toobig.pkttools/ | +33 | 1 reply | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Kuniyuki Iwashima |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | 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 net-next 0/8] tcp: receiver changes
Before accepting an incoming packet:
- Make sure to not accept a packet beyond advertized RWIN. If not, increment a new SNMP counter (LINUX_MIB_BEYOND_WINDOW)
- ooo packets should update rcv_mss and tp->scaling_ratio.
- Make sure to not accept packet beyond sk_rcvbuf limit.
This series includes three associated packetdrill tests.
Eric Dumazet (8):
tcp: do not accept packets beyond window
tcp: add LINUX_MIB_BEYOND_WINDOW
selftests/net: packetdrill: add tcp_rcv_big_endseq.pkt
tcp: call tcp_measure_rcv_mss() for ooo packets selftests/net: packetdrill: add tcp_ooo_rcv_mss.pkt
tcp: add const to tcp_try_rmem_schedule() and sk_rmem_schedule() skb
tcp: stronger sk_rcvbuf checks
selftests/net: packetdrill: add tcp_rcv_toobig.pkt
.../networking/net_cachelines/snmp.rst | 1 + include/net/dropreason-core.h | 9 +++- include/net/sock.h | 2 +- include/uapi/linux/snmp.h | 1 + net/ipv4/proc.c | 1 + net/ipv4/tcp_input.c | 48 ++++++++++++++----- .../net/packetdrill/tcp_ooo_rcv_mss.pkt | 27 +++++++++++ .../net/packetdrill/tcp_rcv_big_endseq.pkt | 44 +++++++++++++++++ .../net/packetdrill/tcp_rcv_toobig.pkt | 33 +++++++++++++ 9 files changed, 152 insertions(+), 14 deletions(-) create mode 100644 tools/testing/selftests/net/packetdrill/tcp_ooo_rcv_mss.pkt create mode 100644 tools/testing/selftests/net/packetdrill/tcp_rcv_big_endseq.pkt create mode 100644 tools/testing/selftests/net/packetdrill/tcp_rcv_toobig.pkt
Signature · 1 line
2.50.0.727.gbf7dc18ff4-goog