summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2014-04-24 18:53:50 -0600
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2014-05-05 10:41:25 -0400
commit94bbac4052eb93219ca0aa370ca741486b25fb98 (patch)
treeab2d9e4f3a69c4f751d661b7c76f751f4b6fa9c0 /block/blk-core.c
parent27e8166c31656f7780e682eaf6bc9c3b8dd03253 (diff)
NVMe: Protect against badly formatted CQEs
If a misbehaving device posts a CQE with a command id < depth but for one that was never allocated, the command info will have a callback function set to NULL and we don't want to try invoking that. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions