]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mptcp: use mptcp_win_from_space helper
authorGeliang Tang <tanggeliang@kylinos.cn>
Wed, 5 Jun 2024 07:15:40 +0000 (09:15 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 6 Jun 2024 13:13:47 +0000 (15:13 +0200)
commit5f0d0649c83f72399c19b18591ea1413ca94c015
tree1605295b5c03c4e5e59c393eebf5c17d0090b801
parent9b6a30febddf4857cb4c367f5294bb6118340e30
mptcp: use mptcp_win_from_space helper

The MPTCP dedicated win_from_space helper mptcp_win_from_space() is defined
in protocol.h, use it in mptcp_rcv_space_adjust() instead of using the TCP
one. Here scaling_ratio is the same as msk->scaling_ratio.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/mptcp/protocol.c