Thread (3 messages) 3 messages, 3 authors, 2021-12-22

Re: [PATCH] sfc: falcon: Check null pointer of rx_queue->page_ring

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-12-22 20:26:35
Also in: lkml

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:
quoted
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 <redacted>  
Acked-by: Martin Habets <redacted>
Applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help