[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191126.155329.693030888355093971.davem@davemloft.net>
Date: Tue, 26 Nov 2019 15:53:29 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jeroendb@...gle.com
Cc: netdev@...r.kernel.org, csully@...gle.com
Subject: Re: [PATCH net] gve: Fix the queue page list allocated pages count
From: Jeroen de Borst <jeroendb@...gle.com>
Date: Tue, 26 Nov 2019 15:36:19 -0800
> In gve_alloc_queue_page_list(), when a page allocation fails,
> qpl->num_entries will be wrong. In this case priv->num_registered_pages
> can underflow in gve_free_queue_page_list(), causing subsequent calls
> to gve_alloc_queue_page_list() to fail.
>
> Fixes: f5cedc84a30d ("gve: Add transmit and receive support")
> Signed-off-by: Jeroen de Borst <jeroendb@...gle.com>
> Reviewed-by: Catherine Sullivan <csully@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists