On dinsdag 21 juni 2022 11:49:26 CEST you wrote: > https://lore.kernel.org/all/20190921063607.ga1083...@kroah.com/ is about the > 4.19.75 release and that contains that change in commit > 7a1bad565cebfbf6956f9bb36dba734a48fa31d4 titled "net_sched: let qdisc_put() > accept NULL pointer" which actually modifies the qdisc_destroy function > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/sc > hed/sch_generic.c?h=linux-4.19.y#n1004 OTOH, does indeed not have that NULL > check.
It's a bit 'above my paygrade', but if qdisk_put() can accept a NULL pointer then I'm curious whether that would be allowed for other functions in that file as well ... there are several having "struct Qdisc *qdisc" as (only) parameter, but only qdisk_put() checks for NULL. That is also true for the current 'master' branch ...
signature.asc
Description: This is a digitally signed message part.