RFC initial SOL_SOCKET support
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest8 patches 14 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mptcp: add skeleton to sync msk socket options to subflowsnet/ net/ net/ +1 more | +83 | 9 replies | |
| 2/8 | mptcp: setsockopt: handle SO_KEEPALIVE and SO_PRIORITYnet/ | +99 | 0 replies | |
| 3/8 | mptcp: setsockopt: handle receive/send buffer and device bindnet/ | +30 | 2 replies | |
| 4/8 | mptcp: setsockopt: support SO_LINGERnet/ | +50 | 0 replies | |
| 5/8 | mptcp: setsockopt: add SO_MARK supportnet/ | +13 | 3 replies | |
| 6/8 | mptcp: setsockopt: add SO_INCOMING_CPUnet/ | +17 | 0 replies | |
| 7/8 | mptcp: setsockopt: SO_DEBUG and no-op optionsnet/ | +18 | 0 replies | |
| 8/8 | mptcp: sockopt: add TCP_CONGESTION and TCP_INFOnet/ net/ | +109 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH mptcp-next v2 0/8] initial SOL_SOCKET support
This patch set improves support for several SOL_SOCKET tuneables, addressing comments received for v1 patch set.
First patch adds skeleton synchronization functions to copy mptcp socket settings to a subflow socket.
Notable changes:
In patch 1, work queue is only used when caller holds a spinlock that prevents calls to sleepable functions such as lock_sock().
TCP_CONGESTION is now applied to all subflows. TCP_INFO retrieves info from the first subflow.
It seems better to add MPTCP_INFO from out-of-tree patch set in a future change.
I've not changed SO_LINGER either but I think doing a FASTCLOSE is the right thing to do when linger time is 0.
Sending this now so there is a bit of review time before thursdays meeting.
Florian Westphal (8):
mptcp: add skeleton to sync msk socket options to subflows
mptcp: setsockopt: handle SO_KEEPALIVE and SO_PRIORITY
mptcp: setsockopt: handle receive/send buffer and device bind
mptcp: setsockopt: support SO_LINGER
mptcp: setsockopt: add SO_MARK support
mptcp: setsockopt: add SO_INCOMING_CPU
mptcp: setsockopt: SO_DEBUG and no-op options
mptcp: sockopt: add TCP_CONGESTION and TCP_INFO
net/mptcp/protocol.c | 54 +++++-- net/mptcp/protocol.h | 11 ++ net/mptcp/sockopt.c | 362 +++++++++++++++++++++++++++++++++++++++++++ net/mptcp/subflow.c | 1 + 4 files changed, 419 insertions(+), 9 deletions(-)
Signature · 1 line
2.26.3