aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMatias Bjørling <[email protected]>2015-12-29 13:37:56 +0000
committerJens Axboe <[email protected]>2015-12-29 15:28:32 +0000
commitc3293a9ac2a4f9160b85b5e986a8e0c54986e7f7 (patch)
tree229096c83ebcbb4e8fcc03d559cb29bb29f2df57 /tools/perf/scripts/python/net_dropmonitor.py
parentnull_blk: use async queue restart helper (diff)
downloadkernel-c3293a9ac2a4f9160b85b5e986a8e0c54986e7f7.tar.gz
kernel-c3293a9ac2a4f9160b85b5e986a8e0c54986e7f7.zip
lightnvm: wrong offset in bad blk lun calculation
dev->nr_luns reports the total number of luns available in a device while dev->luns_per_chnl is the number of luns per channel. When multiple channels are available, the offset is calculated from a channel and lun id into a linear array. As it multiplies with the total number of luns, we go out of bound when channel id > 0 and causes the kernel to panic when we read a protected kernel memory area. Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions