Skip to content

Commit

Permalink
fix from Gang Yan
Browse files Browse the repository at this point in the history
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
  • Loading branch information
Geliang Tang committed Dec 13, 2024
1 parent 52cd55e commit 60d5d12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net/mptcp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2590,6 +2590,10 @@ static void __mptcp_close_subflow(struct sock *sk)
continue;

mptcp_close_ssk(sk, ssk, subflow);

if (READ_ONCE(subflow->remote_id) &&
--msk->pm.add_addr_accepted < mptcp_pm_get_add_addr_accept_max(msk))
WRITE_ONCE(msk->pm.accept_addr, true);
}

}
Expand Down

0 comments on commit 60d5d12

Please sign in to comment.