commit | e232657661242cc8a169595160847b3e66aa7056 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Wed Aug 30 12:49:04 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 30 15:26:12 2017 -0700 |
tree | 78fafb7299efac599ddc4c645ea41683b71f593d | |
parent | 634576a1844dba15bc5e6fc61d72f37e13a21615 [diff] |
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: 6529eaba33f0 ("net: sched: introduce tcf block infractructure") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>