nvme crash - Re: linux-next: Tree for Aug 13

John Garry john.garry at huawei.com
Fri Aug 14 09:37:52 EDT 2020


On 14/08/2020 14:07, John Garry wrote:
> 
> BTW, as for the DMA/sg scatterlist code, it so happens in this case that 
> we try the dma alloc for size=0 in nvme_alloc_queue() - I know an 
> allocation for size=0 makes no sense, but couldn't we bit a bit more 
> robust?

it's giving ZERO_SIZE_PTR, which we deference, so ignore me...



More information about the Linux-nvme mailing list