[PATCH] RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
Bernard Metzler
BMT at zurich.ibm.com
Tue Dec 15 14:35:35 EST 2020
-----"Jason Gunthorpe" <jgg at nvidia.com> wrote: -----
>To: "Bernard Metzler" <bmt at zurich.ibm.com>
>From: "Jason Gunthorpe" <jgg at nvidia.com>
>Date: 12/15/2020 06:48PM
>Cc: <linux-rdma at vger.kernel.org>, <kamalheib1 at gmail.com>,
><yi.zhang at redhat.com>, <linux-nvme at lists.infradead.org>
>Subject: [EXTERNAL] Re: [PATCH] RDMA/siw: Fix handling of zero-sized
>Read and Receive Queues.
>
>On Tue, Dec 15, 2020 at 01:23:06PM +0100, Bernard Metzler wrote:
>> During connection setup, the application may choose to zero-size
>> inbound and outbound READ queues, as well as the Receive queue.
>> This patch fixes handling of zero-sized queues.
>
>This fixes a crasher? Copy the fixes line and oops from Kamal?
>
>Jason
>
Yes. it does. Will resend with a small change fixing
an uninitialized variable I just invented with the patch (uuuhh).
I will attach Kamal's oops report, but his fix was
blocking allowed application behavior (setting some queue
sizes to zero). The intention of my patch is to fix siw
to handle that application behavior correctly. So the fixes
lines will be different.
Thanks,
Bernard.
More information about the Linux-nvme
mailing list