diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-02-04 16:03:29 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-04 20:30:23 -0800 |
commit | 09f12c3ab7a5dc30c4efc6a530891f377d9ba1f4 (patch) | |
tree | 31f795210b45462d2001101b22d9256646f95793 /tools/perf | |
parent | 660a38bf6f622f0ad4255eb58c111d40c330da3b (diff) | |
download | linux-stable-09f12c3ab7a5dc30c4efc6a530891f377d9ba1f4.tar.gz linux-stable-09f12c3ab7a5dc30c4efc6a530891f377d9ba1f4.tar.bz2 linux-stable-09f12c3ab7a5dc30c4efc6a530891f377d9ba1f4.zip |
mptcp: allow to use port and non-signal in set_flags
It's illegal to use both port and non-signal flags for adding address.
But it's legal to use both of them for setting flags, which always uses
non-signal flags, backup or fullmesh.
This patch moves this non-signal flag with port check from
mptcp_pm_parse_addr() to mptcp_nl_cmd_add_addr(). Do the check only when
adding addresses, not setting flags or deleting addresses.
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions