diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2017-08-30 11:49:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-31 00:26:12 +0200 |
commit | e232657661242cc8a169595160847b3e66aa7056 (patch) | |
tree | 78fafb7299efac599ddc4c645ea41683b71f593d /net/sched/sch_tbf.c | |
parent | sch_netem: avoid null pointer deref on init failure (diff) | |
download | linux-e232657661242cc8a169595160847b3e66aa7056.tar.xz linux-e232657661242cc8a169595160847b3e66aa7056.zip |
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>
Diffstat (limited to 'net/sched/sch_tbf.c')
0 files changed, 0 insertions, 0 deletions