[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4f01dd86-62da-84bd-0ae4-7e31b5484514@huawei.com>
Date: Fri, 14 Aug 2020 14:37:52 +0100
From: John Garry <john.garry@...wei.com>
To: Christoph Hellwig <hch@...radead.org>
CC: linux-nvme <linux-nvme@...ts.infradead.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
<iommu@...ts.linux-foundation.org>,
Robin Murphy <robin.murphy@....com>,
<chaitanya.kulkarni@....com>
Subject: Re: nvme crash - Re: linux-next: Tree for Aug 13
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...
Powered by blists - more mailing lists