Skip to content

tcp: __tcp_close() changes

Eric Dumazet netdev 1 version Applied

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

  1. v1 Latest3 patches 13 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3tcp: fix __tcp_close() to only send RST when requirednet/ipv4/tcp.c+5 -47 repliesApplied
2/3selftests/net: packetdrill: add tcp_close_no_rst.pkttools/testing/selftests/net/packetdrill/tcp_close_no_rst.pkt+32 -03 repliesApplied
3/3tcp: use tcp_eat_recv_skb in __tcp_close()net/ipv4/tcp.c+2 -23 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNeal CardwellKuniyuki IwashimaJason Xing
1/3R-b R-b R-b
2/3R-b R-b R-b
3/3R-b R-b R-b

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.

Read the v1 thread

Cover letter [PATCH net-next 0/3] tcp: __tcp_close() changes

First patch fixes a rare bug.

Second patch adds a corresponding packetdrill test.

Third patch is a small optimization.

Eric Dumazet (3):
tcp: fix __tcp_close() to only send RST when required selftests/net: packetdrill: add tcp_close_no_rst.pkt
tcp: use tcp_eat_recv_skb in __tcp_close()

 net/ipv4/tcp.c                                | 13 ++++----
 .../net/packetdrill/tcp_close_no_rst.pkt      | 32 +++++++++++++++++++
 2 files changed, 39 insertions(+), 6 deletions(-)
 create mode 100644 tools/testing/selftests/net/packetdrill/tcp_close_no_rst.pkt
Signature · 1 line
2.51.0.338.gd7d06c2dae-goog