[RFC v1 4/4] nvmet-discovery: do not use invalid port

Christoph Hellwig hch at lst.de
Wed Sep 13 04:35:19 PDT 2023


So that's interesting.  But what I'm mostly worried about is how the
nvmet kernel code allows a request without ->port to progress to the
actual command handler.  We should never allow a command to get that
far if ->port is NULL, and should not allow to clear ->port while
commands are still handled.




More information about the Linux-nvme mailing list