diff options
author | Paolo Abeni <pabeni@redhat.com> | 2024-03-01 20:43:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-04 13:50:28 +0300 |
commit | 29b5e5ef87397963ca38d3eec0d296ad1c979bbc (patch) | |
tree | 5cbea6406fe8148d458313229ed38a241b1bfdab /mm/page_reporting.h | |
parent | a74762675f700a5473ebe54a671a0788a5b23cc9 (diff) | |
download | linux-29b5e5ef87397963ca38d3eec0d296ad1c979bbc.tar.xz |
mptcp: implement TCP_NOTSENT_LOWAT support
Add support for such socket option storing the user-space provided
value in a new msk field, and using such data to implement the
_mptcp_stream_memory_free() helper, similar to the TCP one.
To avoid adding more indirect calls in the fast path, open-code
a variant of sk_stream_memory_free() in mptcp_sendmsg() and add
direct calls to the mptcp stream memory free helper where possible.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/464
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 'mm/page_reporting.h')
0 files changed, 0 insertions, 0 deletions