Skip to content

Squash to "implement mptcp read_sock" v8

Geliang Tang mptcp 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/22 patches 2 repliesIn review
  2. v4 Latest2 patches 2 repliesIn review
  3. v32 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/22 patches2 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

- No need to handle "SOCK_DONE" in MPTCP, drop "SOCK_DONE" checks in mptcp_recvmsg and mptcp_splice_read.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Squash to "mptcp: add recv_should_stop helper"include/net/tcp.h net/ipv4/tcp.c net/mptcp/protocol.c+48 -1010 replies
2/2Squash to "mptcp: implement .splice_read"net/mptcp/protocol.c+11 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH mptcp-next v4 0/2] Squash to "implement mptcp read_sock" v8

From: Geliang Tang <[email protected]>

v4:
- No need to handle "SOCK_DONE" in MPTCP, drop "SOCK_DONE" checks in mptcp_recvmsg and mptcp_splice_read.

v3:
- rename mptcp_recv_should_stop to tcp_recv_should_stop and use it for TCP too.

v2:
- use mptcp_recv_should_stop instead of

                if (sk->sk_err ||
                    sk->sk_state == TCP_CLOSE ||
                    (sk->sk_shutdown & RCV_SHUTDOWN) ||
                    !timeo ||
                    signal_pending(current))

in mptcp_recvmsg.

- use mptcp_recv_should_stop instead of

                if (sk->sk_err || sk->sk_state == TCP_CLOSE ||
                    (sk->sk_shutdown & RCV_SHUTDOWN) ||
                    signal_pending(current))

in mptcp_splice_read.

v1:
Drop "shutdown" parameter of mptcp_recv_should_stop.

Based-on: <[email protected]>

Geliang Tang (2):
Squash to "mptcp: add recv_should_stop helper"
Squash to "mptcp: implement .splice_read"

 include/net/tcp.h    | 23 ++++++++++++++
 net/ipv4/tcp.c       | 73 +++++++-----------------------------------
 net/mptcp/protocol.c | 75 +++++++++++++++-----------------------------
 3 files changed, 59 insertions(+), 112 deletions(-)
Signature · 1 line
2.48.1