Dan Carpenter
5960b9081b
net: sched: Fix use after free in red_enqueue()
...
[ Upstream commit 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9 ]
We can't use "skb" again after passing it to qdisc_enqueue(). This is
basically identical to commit 2f09707d0c97 ("sch_sfb: Also store skb
len before calling child enqueue").
Fixes: d7f4f332f082 ("sch_red: update backlog as well")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-10 18:14:18 +01:00
..
2022-07-07 17:52:18 +02:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2022-10-05 10:38:42 +02:00
2020-10-05 18:40:01 -07:00
2020-09-24 19:46:21 -07:00
2020-10-05 18:40:01 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-11-26 10:39:16 +01:00
2020-12-03 11:13:37 -08:00
2020-09-24 19:46:21 -07:00
2022-05-25 09:17:58 +02:00
2022-06-22 14:13:20 +02:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2020-09-24 19:46:21 -07:00
2021-07-28 14:35:40 +02:00
2020-10-20 21:10:41 -07:00
2021-07-14 16:56:19 +02:00
2022-09-28 11:10:37 +02:00
2020-01-27 10:51:43 +01:00
2020-01-27 10:51:43 +01:00
2019-05-30 11:26:32 -07:00
2020-08-04 13:49:43 -07:00
2022-04-20 09:23:11 +02:00
2020-01-27 10:51:43 +01:00
2020-06-19 12:53:30 -07:00
2022-08-21 15:16:26 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-02-01 12:25:06 -08:00
2021-07-28 14:35:38 +02:00
2022-04-27 13:53:50 +02:00
2020-07-13 17:20:40 -07:00
2019-05-30 11:26:32 -07:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2020-02-29 21:27:02 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-07-13 17:20:40 -07:00
2021-02-23 15:53:23 +01:00
2020-05-01 16:08:19 -07:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2020-07-16 16:48:34 -07:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2020-07-16 16:48:34 -07:00
2022-10-30 09:41:17 +01:00
2020-07-16 16:48:34 -07:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2021-10-13 10:04:26 +02:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2020-07-16 16:48:34 -07:00
2022-09-08 11:11:36 +02:00
2021-03-30 14:31:57 +02:00
2022-10-30 09:41:17 +01:00
2020-07-16 16:48:34 -07:00
2022-10-30 09:41:17 +01:00
2020-02-19 17:49:48 -08:00
2021-11-18 14:03:53 +01:00
2021-11-18 14:03:53 +01:00
2022-10-30 09:41:17 +01:00
2022-06-29 08:59:47 +02:00
2020-07-16 16:48:34 -07:00
2020-07-16 16:48:34 -07:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2022-11-10 18:14:18 +01:00
2022-10-30 09:41:17 +01:00
2021-03-30 14:31:57 +02:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00
2022-10-30 09:41:17 +01:00