Skip to content

mptcp_poll should not block on each subflow

Florian Westphal mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mptcp: add and use subflow_write_spacenet/mptcp/subflow.c+11 -00 replies
2/3net: tcp: add __tcp_poll helperinclude/net/tcp.h net/ipv4/tcp.c+9 -40 replies
3/3mptcp: switch mptcp_poll to mptcp socket wait queuenet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+18 -42 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [MPTCP] [PATCH mptcp-next 0/3] mptcp_poll should not block on each subflow

This is a (very simplified) version of the mptcp poll refactoring.

I've removed all of the code from mptcp_should_wake_parent(), the reason is that Paolo is working on moving more code from mptcp_recvmsg to the subflow data_ready callback so we can weed out duplicate data before waking up userspace.

So this only contains the new 'subflow_write_space' callback to notify mptcp layer when a subflow isn't blocked anymore on write-side, plus the __tcp_poll split so we can call the tcp layer from mptcp without placing the subflow socket on a wait list.

Comments welcome.