-----"Jason Gunthorpe" <jgg@xxxxxxxxxx> wrote: ----- >To: "Bernard Metzler" <bmt@xxxxxxxxxxxxxx> >From: "Jason Gunthorpe" <jgg@xxxxxxxxxx> >Date: 12/15/2020 06:48PM >Cc: <linux-rdma@xxxxxxxxxxxxxxx>, <kamalheib1@xxxxxxxxx>, ><yi.zhang@xxxxxxxxxx>, <linux-nvme@xxxxxxxxxxxxxxxxxxx> >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.