block dangerous passthrough operation
Kanchan Joshi
joshi.k at samsung.com
Wed Nov 16 05:25:02 PST 2022
On Wed, Nov 16, 2022 at 02:01:00PM +0100, Christoph Hellwig wrote:
>Hi all,
>
>I recently had to debug some testing code that tried to send fabrics
>commands and caused a major havoc. This series adds checks for various
>very low-level passthrough commands that have no business sent by anyone
>but the driver itself. The list might now be complete, so discussion
>is welcome.
Sorry to hear about the trouble, but I am confused how did this
happen.
The old code also did not allow fabrics command and any other
admin command except id-ns variants. Yet this series had to
explicitly disallow admin cmds such create/delete sq/cq and
set-features.
More information about the Linux-nvme
mailing list