]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: drop *_max fields in mptcp_pm_data
authorGeliang Tang <geliangtang@gmail.com>
Mon, 1 Feb 2021 23:09:07 +0000 (15:09 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 02:37:18 +0000 (18:37 -0800)
commit757954b5248de6bfb2e88c566963fa86c87d030f
treed453bf56bf0d2501e16711af3082753a51f5ec4a
parentff98a8ebc9b0ed7778bed1bea006f7cdfed0f1dc
mptcp: drop *_max fields in mptcp_pm_data

This patch drops the per-msk values add_addr_signal_max,
add_addr_accept_max, local_addr_max and subflows_max fields in struct
mptcp_pm_data, uses the pernet *_max values instead. And adds four new
helpers to get the pernet *_max values separately.

Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/mptcp_diag.c
net/mptcp/pm.c
net/mptcp/pm_netlink.c
net/mptcp/protocol.h