[PATCH] nvmet-fc: bound the FCP command data length before allocating buffers

Yehyeong Lee yhlee at isslab.korea.ac.kr
Tue Oct 13 08:53:07 PDT 2026


Agreed.  v2 adds a ->get_mdts callback that advertises the 16 MiB ceiling
so a compliant host keeps its transfers under it, and keeps the
allocation-time bound as enforcement for one that does not:
https://lore.kernel.org/linux-nvme/20261013153316.3178656-1-yhlee@isslab.korea.ac.kr/



More information about the Linux-nvme mailing list