[PATCH v2] nvme: fix miss command type check

Kanchan Joshi joshi.k at samsung.com
Sun May 28 23:13:28 PDT 2023


On Fri, May 26, 2023 at 05:06:56PM +0000, min15.li wrote:
>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 <min15.li at samsung.com>

Reviewed-by: Kanchan Joshi <joshi.k at samsung.com>




More information about the Linux-nvme mailing list