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: 6529eaba ("net: sched: introduce tcf block infractructure") Signed-off-by: NNikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录