diff options
author | 2021-01-08 16:47:58 -0800 | |
---|---|---|
committer | 2021-01-09 18:18:43 -0800 | |
commit | 40453a5c61f4dc43bbbdbf7cefed4eb1bc8d69b7 (patch) | |
tree | 94b080da8490b181b03760f94462ff4c3517a525 /net/switchdev/switchdev.c | |
parent | mptcp: add the outgoing MP_PRIO support (diff) | |
download | wireguard-linux-40453a5c61f4dc43bbbdbf7cefed4eb1bc8d69b7.tar.xz wireguard-linux-40453a5c61f4dc43bbbdbf7cefed4eb1bc8d69b7.zip |
mptcp: add the incoming MP_PRIO support
This patch added the incoming MP_PRIO logic:
Added a flag named mp_prio in struct mptcp_options_received, to mark the
MP_PRIO is received, and save the priority value to struct
mptcp_options_received's backup member. Then invoke
mptcp_pm_mp_prio_received with the receiving subsocket and the backup
value.
In mptcp_pm_mp_prio_received, get the subflow context according the input
subsocket, and change the subflow's backup as the incoming priority value.
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions