diff options
author | Keith Busch <keith.busch@intel.com> | 2014-04-25 02:53:50 +0200 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2014-05-05 16:41:25 +0200 |
commit | 94bbac4052eb93219ca0aa370ca741486b25fb98 (patch) | |
tree | ab2d9e4f3a69c4f751d661b7c76f751f4b6fa9c0 /block | |
parent | NVMe: Improve error messages (diff) | |
download | linux-94bbac4052eb93219ca0aa370ca741486b25fb98.tar.xz linux-94bbac4052eb93219ca0aa370ca741486b25fb98.zip |
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')
0 files changed, 0 insertions, 0 deletions