[PATCH] nvmet core: skip flags checks on fabric commands

James Smart james.smart at broadcom.com
Thu Apr 27 20:03:12 PDT 2017


On 4/27/2017 5:20 PM, jsmart2021 at gmail.com wrote:
> From: James Smart <jsmart2021 at gmail.com>
>
> The core layer validates nvme command flags (w0 byte 1) values before
> decoding opcodes. On fabric commands the flags field is reserved.
> Current validations require NVME_CMD_SGL_METABUF or NVME_CMD_SGL_METASEG
> to be set. If host sets flags to 0 as reserved field, command fails.
>
> Exclude fabric commands from flags checks.
>
> Signed-off-by: James Smart <james.smart at broadcom.com>

Please disregard. missed the static. Will repost.

Sorry for the noise.

-- james




More information about the Linux-nvme mailing list