Skip to content

Commit 4258b94

Browse files
matttbePaolo Abeni
authored andcommitted
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: 0670654 ("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>
1 parent efd340b commit 4258b94

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

net/mptcp/pm_netlink.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ static void __mptcp_pm_send_ack(struct mptcp_sock *msk, struct mptcp_subflow_con
471471
slow = lock_sock_fast(ssk);
472472
if (prio) {
473473
subflow->send_mp_prio = 1;
474-
subflow->backup = backup;
475474
subflow->request_bkup = backup;
476475
}
477476

0 commit comments

Comments
 (0)