Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sch_sfq: fix null pointer dereference on init failure
Currently only a memory allocation failure can lead to this, so let's initialize the timer first. Fixes: 6529eab ("net: sched: introduce tcf block infractructure") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information