]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: fix snd_wnd initialization for passive socket
authorPaolo Abeni <pabeni@redhat.com>
Fri, 23 Feb 2024 16:14:15 +0000 (17:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:48:42 +0000 (14:48 +0000)
commitae5530ccd5ef6977c45e8ad17e66e164159cd6ff
tree6a16550adc640bfc7d8ff8385ab30ce02b1c5c5b
parent536a661bfdf45cad9795e8d8fbf6172f687e5cf4
mptcp: fix snd_wnd initialization for passive socket

commit adf1bb78dab55e36d4d557aa2fb446ebcfe9e5ce upstream.

Such value should be inherited from the first subflow, but
passive sockets always used 'rsk_rcv_wnd'.

Fixes: 6f8a612a33e4 ("mptcp: keep track of advertised windows right edge")
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>
Link: https://lore.kernel.org/r/20240223-upstream-net-20240223-misc-fixes-v1-5-162e87e48497@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mptcp/protocol.c