diff options
author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2024-07-27 12:01:25 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-07-30 10:27:29 +0200 |
commit | 4258b94831bb7ff28ab80e3c8d94db37db930728 (patch) | |
tree | d50cff4945d3641484b9b46d589ad93f440a4471 /net/mptcp | |
parent | mptcp: distinguish rcv vs sent backup flag in requests (diff) | |
download | linux-4258b94831bb7ff28ab80e3c8d94db37db930728.tar.xz linux-4258b94831bb7ff28ab80e3c8d94db37db930728.zip |
mptcp: pm: only set request_bkup flag when sending MP_PRIO
The 'backup' flag from mptcp_subflow_context structure is supposed to be
set only when the other peer flagged a subflow as backup, not the
opposite.
Fixes: 067065422fcd ("mptcp: add the outgoing MP_PRIO support")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/mptcp')
-rw-r--r-- | net/mptcp/pm_netlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c index f65831de5c1a..7635fac91539 100644 --- a/net/mptcp/pm_netlink.c +++ b/net/mptcp/pm_netlink.c @@ -471,7 +471,6 @@ static void __mptcp_pm_send_ack(struct mptcp_sock *msk, struct mptcp_subflow_con slow = lock_sock_fast(ssk); if (prio) { subflow->send_mp_prio = 1; - subflow->backup = backup; subflow->request_bkup = backup; } |