diff options
author | 2022-06-14 10:17:33 -0700 | |
---|---|---|
committer | 2022-06-17 10:03:42 +0100 | |
commit | c4ee118561a0f74442439b7b5b486db1ac1ddfeb (patch) | |
tree | 6a485ee7b088b567627b6b50b728c8058d7988cf /tools/testing/selftests/bpf/prog_tests/btf_write.c | |
parent | Merge branch 'net-lan743x-pci11010-pci11414-devices-enhancements' (diff) | |
download | linux-dev-c4ee118561a0f74442439b7b5b486db1ac1ddfeb.tar.xz linux-dev-c4ee118561a0f74442439b7b5b486db1ac1ddfeb.zip |
tcp: fix over estimation in sk_forced_mem_schedule()
sk_forced_mem_schedule() has a bug similar to ones fixed
in commit 7c80b038d23e ("net: fix sk_wmem_schedule() and
sk_rmem_schedule() errors")
While this bug has little chance to trigger in old kernels,
we need to fix it before the following patch.
Fixes: d83769a580f1 ("tcp: fix possible deadlock in tcp_send_fin()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/btf_write.c')
0 files changed, 0 insertions, 0 deletions