diff options
author | Wei Wang <weiwan@google.com> | 2021-09-29 10:25:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-30 13:36:46 +0100 |
commit | 053f368412c9a7bfce2befec8c795113c8cfb0b1 (patch) | |
tree | 30f0da3c75f0c65934cf3e42cd43c3fb8d4d0488 /crypto | |
parent | ca057051cf25a8c198af7b73daf922ef65a3c016 (diff) | |
download | linux-stable-053f368412c9a7bfce2befec8c795113c8cfb0b1.tar.gz linux-stable-053f368412c9a7bfce2befec8c795113c8cfb0b1.tar.bz2 linux-stable-053f368412c9a7bfce2befec8c795113c8cfb0b1.zip |
tcp: adjust rcv_ssthresh according to sk_reserved_mem
When user sets SO_RESERVE_MEM socket option, in order to utilize the
reserved memory when in memory pressure state, we adjust rcv_ssthresh
according to the available reserved memory for the socket, instead of
using 4 * advmss always.
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions