diff options
author | 2023-05-31 12:37:08 -0700 | |
---|---|---|
committer | 2023-06-01 10:04:04 -0700 | |
commit | 55b47ca7d80814ceb63d64e032e96cd6777811e5 (patch) | |
tree | 137c7c1fd0f3db1180862504c463d369cbb0d2df /scripts/generate_rust_analyzer.py | |
parent | mptcp: add annotations around sk->sk_shutdown accesses (diff) | |
download | wireguard-linux-55b47ca7d80814ceb63d64e032e96cd6777811e5.tar.xz wireguard-linux-55b47ca7d80814ceb63d64e032e96cd6777811e5.zip |
mptcp: fix active subflow finalization
Active subflow are inserted into the connection list at creation time.
When the MPJ handshake completes successfully, a new subflow creation
netlink event is generated correctly, but the current code wrongly
avoid initializing a couple of subflow data.
The above will cause misbehavior on a few exceptional events: unneeded
mptcp-level retransmission on msk-level sequence wrap-around and infinite
mapping fallback even when a MPJ socket is present.
Address the issue factoring out the needed initialization in a new helper
and invoking the latter from __mptcp_finish_join() time for passive
subflow and from mptcp_finish_join() for active ones.
Fixes: 0530020a7c8f ("mptcp: track and update contiguous data status")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions