Eric Dumazet
8338305317
tcp: fix over estimation in sk_forced_mem_schedule()
...
commit c4ee118561a0f74442439b7b5b486db1ac1ddfeb upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-21 15:16:25 +02:00
..
2020-08-10 12:06:44 -07:00
2022-06-29 08:59:46 +02:00
2022-07-29 17:19:18 +02:00
2021-04-14 08:42:05 +02:00
2022-04-13 21:00:57 +02:00
2020-09-25 13:58:01 -07:00
2022-07-21 21:20:08 +02:00
2019-11-01 14:57:52 -07:00
2021-12-08 09:03:18 +01:00
2022-03-16 14:15:57 +01:00
2022-04-27 13:53:48 +02:00
2022-04-13 21:00:57 +02:00
2020-03-29 22:30:57 -07:00
2019-10-04 11:10:56 -07:00
2021-12-08 09:03:26 +01:00
2022-07-29 17:19:20 +02:00
2022-07-21 21:20:08 +02:00
2020-10-02 19:11:11 -07:00
2021-01-12 20:18:12 +01:00
2020-08-03 15:29:44 -07:00
2022-07-29 17:19:12 +02:00
2022-08-03 12:00:46 +02:00
2022-07-29 17:19:13 +02:00
2021-12-22 09:30:53 +01:00
2022-01-27 10:54:33 +01:00
2022-08-21 15:15:51 +02:00
2019-05-21 10:50:45 +02:00
2022-07-21 21:20:07 +02:00
2022-07-29 17:19:12 +02:00
2022-01-27 10:54:33 +01:00
2022-06-29 08:59:48 +02:00
2020-03-30 13:45:04 -07:00
2020-08-25 06:28:02 -07:00
2022-06-09 10:21:09 +02:00
2022-07-29 17:19:16 +02:00
2022-07-07 17:52:19 +02:00
2021-08-04 12:46:42 +02:00
2021-03-17 17:06:12 +01:00
2020-07-09 12:55:37 +02:00
2021-06-18 10:00:05 +02:00
2020-06-30 12:29:39 -07:00
2019-10-04 11:10:56 -07:00
2022-02-16 12:54:25 +01:00
2020-08-18 16:02:16 -07:00
2020-07-10 13:54:00 -07:00
2019-05-21 10:50:45 +02:00
2020-10-30 12:57:39 +01:00
2019-05-21 10:50:45 +02:00
2022-07-21 21:20:10 +02:00
2022-06-09 10:21:09 +02:00
2021-11-18 14:04:08 +01:00
2019-05-30 11:26:32 -07:00
2020-03-12 22:34:48 -07:00
2022-06-09 10:21:09 +02:00
2022-07-29 17:19:12 +02:00
2022-07-29 17:19:21 +02:00
2022-07-29 17:19:20 +02:00
2021-08-18 08:59:13 +02:00
2020-03-16 18:26:54 -07:00
2022-04-08 14:40:21 +02:00
2019-05-21 10:50:45 +02:00
2021-05-14 09:50:46 +02:00
2021-12-01 09:19:06 +01:00
2019-05-30 11:26:32 -07:00
2018-10-10 22:26:00 -07:00
2020-02-27 18:50:19 -08:00
2022-07-29 17:19:18 +02:00
2020-07-06 13:23:03 -07:00
2020-07-06 13:23:03 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2022-08-03 12:00:48 +02:00
2022-08-03 12:00:48 +02:00
2019-05-21 10:50:45 +02:00
2022-08-03 12:00:45 +02:00
2022-07-29 17:19:22 +02:00
2019-05-21 10:50:45 +02:00
2021-08-12 13:22:05 +02:00
2022-08-21 15:16:25 +02:00
2022-05-09 09:05:03 +02:00
2022-07-29 17:19:21 +02:00
2020-08-24 17:31:20 -07:00
2022-07-29 17:19:21 +02:00
2020-03-09 22:34:58 +01:00
2020-10-13 17:11:52 -07:00
2017-11-02 11:10:55 +01:00
2020-07-06 13:23:03 -07:00
2019-05-21 10:50:45 +02:00
2020-03-16 18:26:55 -07:00
2022-08-03 12:00:47 +02:00
2020-07-09 12:51:36 +02:00
2021-07-28 14:35:37 +02:00
2020-03-12 22:34:48 -07:00
2020-07-24 15:41:54 -07:00
2021-08-12 13:22:05 +02:00
2020-07-10 13:54:00 -07:00
2022-03-02 11:42:51 +01:00
2020-07-10 13:54:00 -07:00
2022-08-21 15:15:50 +02:00
2020-07-19 18:16:41 -07:00
2020-05-06 09:40:08 +02:00
2020-05-11 15:12:27 +02:00
2019-12-24 22:28:54 -08:00
2022-06-14 18:32:40 +02:00
2020-05-06 09:40:08 +02:00
2020-10-09 12:29:48 +02:00