diff options
author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2025-09-08 23:27:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-19 16:37:30 +0200 |
commit | 9911a97bff4ca0d1a13d8c8c967ff6932f0c7f63 (patch) | |
tree | be1b63c3530665dc319599f0407e0a9171edf2d6 /kernel/power/hibernate.c | |
parent | 259bcc4213c972ce0df99a7deaeb766526a9fb18 (diff) |
netlink: specs: mptcp: fix if-idx attribute type
commit 7094b84863e5832cb1cd9c4b9d648904775b6bd9 upstream.
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: bc8aeb2045e2 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/power/hibernate.c')
0 files changed, 0 insertions, 0 deletions