summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2021-09-29 10:25:13 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-30 13:36:46 +0100
commit053f368412c9a7bfce2befec8c795113c8cfb0b1 (patch)
tree30f0da3c75f0c65934cf3e42cd43c3fb8d4d0488 /fs/romfs
parentca057051cf25a8c198af7b73daf922ef65a3c016 (diff)
downloadlinux-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 'fs/romfs')
0 files changed, 0 insertions, 0 deletions