]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mptcp: pm: in-kernel: reduce parameters of set_flags
authorGeliang Tang <tanggeliang@kylinos.cn>
Fri, 28 Feb 2025 14:38:38 +0000 (15:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Mar 2025 00:57:38 +0000 (16:57 -0800)
commit70c575d5a94f4817d839a2ef1e0a10b1fbd6383e
tree4c78516414ffad7234871261e81240829f6b8b4a
parente85d33b35508da7e7570c0b54f007b59e205f623
mptcp: pm: in-kernel: reduce parameters of set_flags

The number of parameters in mptcp_nl_set_flags() can be reduced.
Only need to pass a "local" parameter to it instead of "local->addr"
and "local->flags".

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250228-net-next-mptcp-coverage-small-opti-v1-4-f933c4275676@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c