Skip to content

tcp: some bug fixes for tcp_read_skb()

Cong Wang bpf lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied 4/4
  2. v24 patches 1 replySuperseded
  3. v11 patch 9 repliesSuperseded

Patches in v3 All 4 applied

#Subject and filesSizeRepliesApplied
1/4tcp: fix sock skb accounting in tcp_read_skb()net/ipv4/tcp.c+1 -05 repliesApplied
2/4tcp: fix tcp_cleanup_rbuf() for tcp_read_skb()net/ipv4/tcp.c+14 -101 replyApplied
3/4tcp: refactor tcp_read_skb() a bitnet/ipv4/tcp.c+9 -170 repliesApplied
4/4tcp: handle pure FIN case correctlynet/core/skmsg.c net/ipv4/tcp.c+4 -30 repliesApplied

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

Patch[email protected]Stanislav Fomichev
1/4Reported-and-tested-by T-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Patch net v3 0/4] tcp: some bug fixes for tcp_read_skb()

From: Cong Wang <[email protected]>

This patchset contains 3 bug fixes and 1 minor refactor patch for tcp_read_skb(). V1 only had the first patch, as Eric prefers to fix all of them together, I have to group them together. Please see each patch description for more details.

---
v2: add more patches
v3: simplify empty receive queue case

Cong Wang (4):
tcp: fix sock skb accounting in tcp_read_skb()
tcp: fix tcp_cleanup_rbuf() for tcp_read_skb()
tcp: refactor tcp_read_skb() a bit
tcp: handle pure FIN case correctly

 net/core/skmsg.c |  5 +++--
 net/ipv4/tcp.c   | 49 +++++++++++++++++++++++-------------------------
 2 files changed, 26 insertions(+), 28 deletions(-)
Signature · 1 line
2.34.1