summaryrefslogtreecommitdiff
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-02-08 21:03:51 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-12 13:08:13 +0300
commit3f83d8a77eeeb47011b990fd766a421ee64f1d73 (patch)
tree3b2b2ca5e5e65ff59dfcd5b23716fcccc53ad1f7 /net/mptcp/protocol.h
parent013e3179dbd2bc756ce1dd90354abac62f65b739 (diff)
downloadlinux-3f83d8a77eeeb47011b990fd766a421ee64f1d73.tar.xz
mptcp: fix more tx path fields initialization
The 'msk->write_seq' and 'msk->snd_nxt' are always updated under the msk socket lock, except at MPC handshake completiont time. Builds-up on the previous commit to move such init under the relevant lock. There are no known problems caused by the potential race, the primary goal is consistency. Fixes: 6d0060f600ad ("mptcp: Write MPTCP DSS headers to outgoing data packets") Cc: stable@vger.kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.h')
0 files changed, 0 insertions, 0 deletions