mptcp: update set_flags interfaces
authorGeliang Tang <tanggeliang@kylinos.cn>
Tue, 5 Mar 2024 11:04:31 +0000 (12:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Mar 2024 04:24:10 +0000 (20:24 -0800)
commit6a42477fe4491e454aaeabfed5708d1eff5ff2ad
treedc09af69cb1d778cf4e99414aba205f63ed02961
parentd5dfbfa2f88eead230d411d1a58f38d6241e2882
mptcp: update set_flags interfaces

This patch updates set_flags interfaces, make it more similar to the
interfaces of dump_addr and get_addr:

 mptcp_pm_set_flags(struct sk_buff *skb, struct genl_info *info)
 mptcp_pm_nl_set_flags(struct sk_buff *skb, struct genl_info *info)
 mptcp_userspace_pm_set_flags(struct sk_buff *skb, struct genl_info *info)

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://lore.kernel.org/r/20240305-upstream-net-next-20240304-mptcp-misc-cleanup-v1-2-c436ba5e569b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm.c
net/mptcp/pm_netlink.c
net/mptcp/pm_userspace.c
net/mptcp/protocol.h