Commit dbda9ff1 authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Lipeng Sang
Browse files

net: sched: delete duplicate cleanup of backlog and qlen

stable inclusion
from stable-v5.10.152
commit 305aa36b628e2c7974fb23674a56b28b7224c2c2
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I73HJ0

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=305aa36b628e2c7974fb23674a56b28b7224c2c2



--------------------------------

[ Upstream commit c19d893f ]

qdisc_reset() is clearing qdisc->q.qlen and qdisc->qstats.backlog
_after_ calling qdisc->ops->reset. There is no need to clear them
again in the specific reset function.

Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20220824005231.345727-1-shaozhengchao@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: 2a3fc782 ("net: sched: sfb: fix null pointer access issue when sfb_init() fails")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
parent bbc54858
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment