diff options
| author | Mat Martineau <[email protected]> | 2022-04-27 22:50:01 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-04-30 00:25:14 +0000 |
| commit | 6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0 (patch) | |
| tree | 27a07b92bb40e431961f8ea6cb58b35e984fc353 /net/mptcp/protocol.h | |
| parent | mptcp: Make kernel path manager check for userspace-managed sockets (diff) | |
| download | kernel-6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0.tar.gz kernel-6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0.zip | |
mptcp: Add a per-namespace sysctl to set the default path manager type
The new net.mptcp.pm_type sysctl determines which path manager will be
used by each newly-created MPTCP socket.
v2: Handle builds without CONFIG_SYSCTL
v3: Clarify logic for type-specific PM init (Geliang Tang and Paolo Abeni)
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.h')
| -rw-r--r-- | net/mptcp/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 79606e9d3f2a..54d2b3b2d100 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -585,6 +585,7 @@ unsigned int mptcp_get_add_addr_timeout(const struct net *net); int mptcp_is_checksum_enabled(const struct net *net); int mptcp_allow_join_id0(const struct net *net); unsigned int mptcp_stale_loss_cnt(const struct net *net); +int mptcp_get_pm_type(const struct net *net); void mptcp_subflow_fully_established(struct mptcp_subflow_context *subflow, struct mptcp_options_received *mp_opt); bool __mptcp_retransmit_pending_data(struct sock *sk); |
