Skip to content

mptcp: netlink event fixes

Florian Westphal mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mptcp: schedule worker when subflow is closednet/mptcp/subflow.c+7 -05 replies
2/3mptcp: skip MPTCP_EVENT_SUB_CLOSED event when mptcp socket isn't establishednet/mptcp/protocol.c+2 -10 replies
3/3mptcp: move subflow close loop after sk close checknet/mptcp/protocol.c+3 -30 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 0/3] mptcp: netlink event fixes

While testing upcoming mptcp reset option support i found a few issues with netlink events.

1. When remote side is closing, the subflow close event will be delayed until after the mptcp socket has shut down.

Schedule the worker to do a cleanup scan to avoid this.

2. When the mptcp socket is closing we can avoid sending individual 'subflow is closing' events; entire connection is going down so might as well wait for the normal mptcp-level close event.

3. Move the subflow close loop after dead check. This is not a fix, it would be fine to leave things as-is if you prefer -- its just that the extra conn_list walk can be avoided if the msk is already dead.

Florian Westphal (3):
mptcp: schedule worker when subflow is closed
mptcp: skip MPTCP_EVENT_SUB_CLOSED event when mptcp socket isn't
established
mptcp: move subflow close loop after sk close check

 net/mptcp/protocol.c | 9 +++++----
 net/mptcp/subflow.c  | 7 +++++++
 2 files changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.26.2