[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ecd14fd4-91b2-4bdf-af9c-cc6f555f989b@linux.intel.com>
Date: Mon, 30 Jun 2025 13:18:22 +0200
From: Dawid Osuchowski <dawid.osuchowski@...ux.intel.com>
To: Leon Romanovsky <leon@...nel.org>, Jason Gunthorpe <jgg@...dia.com>
Cc: Stav Aviram <saviram@...dia.com>, Andrew Lunn <andrew+netdev@...n.ch>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
linux-rdma@...r.kernel.org, Mark Bloch <markb@...lanox.com>,
netdev@...r.kernel.org, Paolo Abeni <pabeni@...hat.com>,
Saeed Mahameed <saeedm@...dia.com>, Tariq Toukan <tariqt@...dia.com>
Subject: Re: [PATCH mlx5-next] net/mlx5: Check device memory pointer before
usage
On 2025-06-30 12:35 PM, Leon Romanovsky wrote:
> From: Stav Aviram <saviram@...dia.com>
>
> Add a NULL check before accessing device memory to prevent a crash if
> dev->dm allocation in mlx5_init_once() fails.
>
> Fixes: c9b9dcb430b3 ("net/mlx5: Move device memory management to mlx5_core")
> Signed-off-by: Stav Aviram <saviram@...dia.com>
> Signed-off-by: Leon Romanovsky <leonro@...dia.com>
Given this is a fix, the net tree should be targeted instead of next.
Best regards,
Dawid
Powered by blists - more mailing lists