Skip to content

Commit 7094b84

Browse files
matttbekuba-moo
authored andcommitted
netlink: specs: mptcp: fix if-idx attribute type
This attribute is used as a signed number in the code in pm_netlink.c: nla_put_s32(skb, MPTCP_ATTR_IF_IDX, ssk->sk_bound_dev_if)) The specs should then reflect that. Note that other 'if-idx' attributes from the same .yaml file use a signed number as well. Fixes: bc8aeb2 ("Documentation: netlink: add a YAML spec for mptcp") Cc: stable@vger.kernel.org Reviewed-by: Geliang Tang <geliang@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20250908-net-mptcp-misc-fixes-6-17-rc5-v1-1-5f2168a66079@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 648de37 commit 7094b84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/netlink/specs/mptcp_pm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ attribute-sets:
256256
type: u32
257257
-
258258
name: if-idx
259-
type: u32
259+
type: s32
260260
-
261261
name: reset-reason
262262
type: u32

0 commit comments

Comments
 (0)