[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <db6e0da3-b78b-f302-fe71-d89d9ea7ad88@redhat.com>
Date: Tue, 25 Jan 2022 09:48:18 +0100
From: Jesper Dangaard Brouer <jbrouer@...hat.com>
To: Toke Høiland-Jørgensen <toke@...hat.com>,
Grygorii Strashko <grygorii.strashko@...com>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
Murali Karicheri <m-karicheri2@...com>,
"David S. Miller" <davem@...emloft.net>,
Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Cc: brouer@...hat.com,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Colin Foster <colin.foster@...advantage.com>,
Jakub Kicinski <kuba@...nel.org>, linux-omap@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: cpsw: Properly initialise struct
page_pool_params
On 24/01/2022 15.35, Toke Høiland-Jørgensen wrote:
> The cpsw driver didn't properly initialise the struct page_pool_params
> before calling page_pool_create(), which leads to crashes after the struct
> has been expanded with new parameters.
>
> The second Fixes tag below is where the buggy code was introduced, but
> because the code was moved around this patch will only apply on top of the
> commit in the first Fixes tag.
>
> Fixes: c5013ac1dd0e ("net: ethernet: ti: cpsw: move set of common functions in cpsw_priv")
> Fixes: 9ed4050c0d75 ("net: ethernet: ti: cpsw: add XDP support")
> Reported-by: Colin Foster <colin.foster@...advantage.com>
> Signed-off-by: Toke Høiland-Jørgensen <toke@...hat.com>
> ---
Acked-by: Jesper Dangaard Brouer <brouer@...hat.com>
Powered by blists - more mailing lists