diff options
| author | 2022-10-28 18:05:00 +0300 | |
|---|---|---|
| committer | 2022-10-31 11:55:39 +0000 | |
| commit | 8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9 (patch) | |
| tree | 98c2e409c49ff27666fae499d13663cb7f2d141e /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | net: fec: fix improper use of NETDEV_TX_BUSY (diff) | |
| download | linux-dev-8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9.tar.xz linux-dev-8bdc2acd420c6f3dd1f1c78750ec989f02a1e2b9.zip | |
net: sched: Fix use after free in red_enqueue()
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>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
