Merge branch 'qdisc-null-deref'
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2022 12:47:09 +0000 (13:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2022 12:47:09 +0000 (13:47 +0100)
commite38cf36695c9473f3d0a08bb9f27e33a8dc0ff53
treedde5d70f99ffb7429ce32c5c0f9eae2c18d4a342
parent7b55c2ed2ba061b65fc51d7a18d37e017085997f
parent2a3fc78210b9f0e85372a2435368962009f480fc
Merge branch 'qdisc-null-deref'

Zhengchao Shao says:

====================
net: fix null pointer access issue in qdisc

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.

---
v2: for fq_codel, revert the patch
---
====================

Signed-off-by: David S. Miller <davem@davemloft.net>