diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-06-05 09:15:41 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-06-06 15:13:47 +0200 |
commit | 5cdedad62eaba22c45b9c45c8199bacd461afd87 (patch) | |
tree | 589ab4d79c6de290ca7fff02cf870995dcb6d454 /net/8021q | |
parent | mptcp: use mptcp_win_from_space helper (diff) | |
download | linux-5cdedad62eaba22c45b9c45c8199bacd461afd87.tar.xz linux-5cdedad62eaba22c45b9c45c8199bacd461afd87.zip |
mptcp: add mptcp_space_from_win helper
As a wrapper of __tcp_space_from_win(), this patch adds a MPTCP dedicated
space_from_win helper mptcp_space_from_win() in protocol.h to paired with
mptcp_win_from_space().
Use it instead of __tcp_space_from_win() in both mptcp_rcv_space_adjust()
and mptcp_set_rcvlowat().
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>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions