aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_fq_codel.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2017-08-30 12:49:00 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-30 15:26:11 -0700
commit3bdac362a2f89ed3e148fa6f38c5f5d858f50b1a (patch)
treeb6de819af8c1171bfbd06a17d65290539ba5218c /net/sched/sch_fq_codel.c
parentsch_hhf: fix null pointer dereference on init failure (diff)
downloadlinux-dev-3bdac362a2f89ed3e148fa6f38c5f5d858f50b1a.tar.xz
linux-dev-3bdac362a2f89ed3e148fa6f38c5f5d858f50b1a.zip
sch_hfsc: fix null pointer deref and double free on init failure
Depending on where ->init fails we can get a null pointer deref due to uninitialized hires timer (watchdog) or a double free of the qdisc hash because it is already freed by ->destroy(). Fixes: 8d5537387505 ("net/sched/hfsc: allocate tcf block for hfsc root class") Fixes: 87b60cfacf9f ("net_sched: fix error recovery at qdisc creation") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_fq_codel.c')
0 files changed, 0 insertions, 0 deletions