diff options
| author | min15.li <[email protected]> | 2023-05-26 17:06:56 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2023-05-30 15:50:24 +0000 |
| commit | 31a5978243d24d77be4bacca56c78a0fbc43b00d (patch) | |
| tree | ca1c97cefc6d8979e9ba062a931e7fd42d1bfcdb /net/nsh/nsh.c | |
| parent | NVMe: Add MAXIO 1602 to bogus nid list. (diff) | |
| download | kernel-31a5978243d24d77be4bacca56c78a0fbc43b00d.tar.gz kernel-31a5978243d24d77be4bacca56c78a0fbc43b00d.zip | |
nvme: fix miss command type check
In the function nvme_passthru_end(), only the value of the command
opcode is checked, without checking the command type (IO command or
Admin command). When we send a Dataset Management command (The opcode
of the Dataset Management command is the same as the Set Feature
command), kernel thinks it is a set feature command, then sets the
controller's keep alive interval, and calls nvme_keep_alive_work().
Signed-off-by: min15.li <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
