summaryrefslogtreecommitdiff
path: root/net/sched/sch_tbf.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2017-08-30 12:49:04 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-30 15:26:12 -0700
commite232657661242cc8a169595160847b3e66aa7056 (patch)
tree78fafb7299efac599ddc4c645ea41683b71f593d /net/sched/sch_tbf.c
parent634576a1844dba15bc5e6fc61d72f37e13a21615 (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>
Diffstat (limited to 'net/sched/sch_tbf.c')
0 files changed, 0 insertions, 0 deletions