summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorLiu Bo <bo.liu@linux.alibaba.com>2018-05-29 16:29:12 +0800
committerJens Axboe <axboe@kernel.dk>2018-05-30 10:54:33 -0600
commit2ab74cd29622c48e9852d85618081c061b6ac6d9 (patch)
tree16058bed4d103d7202f997b2d4e511a185e0c8e5 /drivers/block
parenta6088845c2bf754d6cb2572b484180680b037804 (diff)
downloadlinux-stable-2ab74cd29622c48e9852d85618081c061b6ac6d9.tar.gz
linux-stable-2ab74cd29622c48e9852d85618081c061b6ac6d9.tar.bz2
linux-stable-2ab74cd29622c48e9852d85618081c061b6ac6d9.zip
blk-throttle: fix potential NULL pointer dereference in throtl_select_dispatch
tg in throtl_select_dispatch is used first and then do check. Since tg may be NULL, it has potential NULL pointer dereference risk. So fix it. Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions