mbox series

[net,0/3] fix null pointer access issue in qdisc

Message ID 20221018034718.82389-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series fix null pointer access issue in qdisc | expand

Message

shaozhengchao Oct. 18, 2022, 3:47 a.m. UTC
These three patches fix the same type of problem. Set the default qdisc,
and then construct an init failure scenario when the dev qdisc is
configured on mqprio to trigger the reset process. NULL pointer access 
may occur during the reset process.

Zhengchao Shao (3):
  net: sched: cake: fix null pointer access issue when cake_init() fails
  net: sched: fq_codel: fix null pointer access issue when
    fq_codel_init() fails
  net: sched: sfb: fix null pointer access issue when sfb_init() fails

 net/sched/sch_cake.c     |  4 ++++
 net/sched/sch_fq_codel.c | 20 ++++++++++++++------
 net/sched/sch_sfb.c      |  3 ++-
 3 files changed, 20 insertions(+), 7 deletions(-)