Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DFAD2E88B2 for ; Sat, 13 Sep 2025 14:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757772629; cv=none; b=udt3bkiFdJ2ypC6xbIXrgJC1W95xhzC4g2FzmSz0nArQiOJClQ/WXyKJA8OqOh+nYYtuNjD1Gg3V1RlHyWxL7aObmeNFN/OZpDOxP/2FF2mUaf9oj2V3UPMer5ehf3VCkM3U1ZWf+XTIAGxnfTwf/zXTSMzk0dVjm9vyhszxvzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757772629; c=relaxed/simple; bh=QL+Kclrc3uy+iFP86FyHoOltUSSC8s+GRLu5mAo7LNw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p+yI/5HqLxiaen3TGZF7czE9+xgSdwP81ZqniOFu5fzGDpLXyK2/swiRfsIUJ0r2VCZC0tfSUePF/QFh3+m8SwaYzXs2ktcJiVoBRYKQ9lkv78ZsvC9HKelJtgRdQXt//WGTQdfRpmn05kG0V3wdrz1BxMKjPC8mkVyRkiEQ8IM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Yua2qvor; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Yua2qvor" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41CA7C4CEEB; Sat, 13 Sep 2025 14:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757772628; bh=QL+Kclrc3uy+iFP86FyHoOltUSSC8s+GRLu5mAo7LNw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yua2qvoroyjxTWq0iyAQhoLreOU2GvSTOLEOzgIz51+aICOCqPiGlrxSMqH/E5Jps W6zIp92VRgcSlV8IV1XqDudnjIg6gZea1CTJz9pOtjZ8mE8Chckd92N/1VZzThl39G SUNorDk+hDKABlt+6/rAWUlZaziKOYJqbNJmiXfbOOZwWvN1vD5o7wT9Bf/8MqPS3j scQtPbgEczIvoh+13Wj8p060KRoy0ejjWblVvfSCcCL5I/kRmFA7095zWXW/UUGLWC SfLCR3oM1+PGYMDvhB48jpbD+SrdBVuiuiXH7LlWzVKZdmX9iMeClg6Vu/7OGuLpvQ 6X0gM+29XNfEw== From: Sasha Levin To: stable@vger.kernel.org Cc: "Matthieu Baerts (NGI0)" , Geliang Tang , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.12.y 1/4] netlink: specs: mptcp: add missing 'server-side' attr Date: Sat, 13 Sep 2025 10:10:23 -0400 Message-ID: <20250913141026.1362030-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <2025091346-avenue-afterglow-5b42@gregkh> References: <2025091346-avenue-afterglow-5b42@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Matthieu Baerts (NGI0)" [ Upstream commit 6b830c6a023ff6e8fe05dbe47a9e5cd276df09ee ] This attribute is added with the 'created' and 'established' events, but the documentation didn't mention it. The documentation in the UAPI header has been auto-generated by: ./tools/net/ynl/ynl-regen.sh Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20241221-net-mptcp-netlink-specs-pm-doc-fixes-v2-1-e54f2db3f844@kernel.org Signed-off-by: Jakub Kicinski Stable-dep-of: 7094b84863e5 ("netlink: specs: mptcp: fix if-idx attribute type") Signed-off-by: Sasha Levin --- Documentation/netlink/specs/mptcp_pm.yaml | 6 ++++-- include/uapi/linux/mptcp_pm.h | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Documentation/netlink/specs/mptcp_pm.yaml b/Documentation/netlink/specs/mptcp_pm.yaml index dc190bf838fec..fc0603f51665a 100644 --- a/Documentation/netlink/specs/mptcp_pm.yaml +++ b/Documentation/netlink/specs/mptcp_pm.yaml @@ -23,7 +23,8 @@ definitions: - name: created doc: - token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport + token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport, + server-side A new MPTCP connection has been created. It is the good time to allocate memory and send ADD_ADDR if needed. Depending on the traffic-patterns it can take a long time until the @@ -31,7 +32,8 @@ definitions: - name: established doc: - token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport + token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport, + server-side A MPTCP connection is established (can start new subflows). - name: closed diff --git a/include/uapi/linux/mptcp_pm.h b/include/uapi/linux/mptcp_pm.h index 50589e5dd6a38..b34fd95b6f841 100644 --- a/include/uapi/linux/mptcp_pm.h +++ b/include/uapi/linux/mptcp_pm.h @@ -13,12 +13,13 @@ * enum mptcp_event_type * @MPTCP_EVENT_UNSPEC: unused event * @MPTCP_EVENT_CREATED: token, family, saddr4 | saddr6, daddr4 | daddr6, - * sport, dport A new MPTCP connection has been created. It is the good time - * to allocate memory and send ADD_ADDR if needed. Depending on the - * traffic-patterns it can take a long time until the MPTCP_EVENT_ESTABLISHED - * is sent. + * sport, dport, server-side A new MPTCP connection has been created. It is + * the good time to allocate memory and send ADD_ADDR if needed. Depending on + * the traffic-patterns it can take a long time until the + * MPTCP_EVENT_ESTABLISHED is sent. * @MPTCP_EVENT_ESTABLISHED: token, family, saddr4 | saddr6, daddr4 | daddr6, - * sport, dport A MPTCP connection is established (can start new subflows). + * sport, dport, server-side A MPTCP connection is established (can start new + * subflows). * @MPTCP_EVENT_CLOSED: token A MPTCP connection has stopped. * @MPTCP_EVENT_ANNOUNCED: token, rem_id, family, daddr4 | daddr6 [, dport] A * new address has been announced by the peer. -- 2.51.0