[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211222122630.6c3f5ae9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 22 Dec 2021 12:26:30 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Martin Habets <habetsm.xilinx@...il.com>,
Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc: ecree.xilinx@...il.com, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sfc: falcon: Check null pointer of rx_queue->page_ring
On Wed, 22 Dec 2021 13:04:56 +0000 Martin Habets wrote:
> On Mon, Dec 20, 2021 at 10:03:44PM +0800, Jiasheng Jiang wrote:
> > Because of the possible failure of the kcalloc, it should be better to
> > set rx_queue->page_ptr_mask to 0 when it happens in order to maintain
> > the consistency.
> >
> > Fixes: 5a6681e22c14 ("sfc: separate out SFC4000 ("Falcon") support into new sfc-falcon driver")
> > Signed-off-by: Jiasheng Jiang <jiasheng@...as.ac.cn>
>
> Acked-by: Martin Habets <habetsm.xilinx@...il.com>
Applied, thanks!
Powered by blists - more mailing lists