lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191226.115017.708837293686080083.davem@davemloft.net>
Date:   Thu, 26 Dec 2019 11:50:17 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     leon@...nel.org
Cc:     mlxsw@...lanox.com, vladyslavt@...lanox.com,
        netdev@...r.kernel.org, ayal@...lanox.com, leonro@...lanox.com
Subject: Re: [PATCH net] net/mlxfw: Fix out-of-memory error in mfa2 flash
 burning

From: Leon Romanovsky <leon@...nel.org>
Date: Thu, 26 Dec 2019 10:41:56 +0200

> From: Vladyslav Tarasiuk <vladyslavt@...lanox.com>
> 
> The burning process requires to perform internal allocations of large
> chunks of memory. This memory doesn't need to be contiguous and can be
> safely allocated by vzalloc() instead of kzalloc(). This patch changes
> such allocation to avoid possible out-of-memory failure.
> 
> Fixes: 410ed13cae39 ("Add the mlxfw module for Mellanox firmware flash process")
> Signed-off-by: Vladyslav Tarasiuk <vladyslavt@...lanox.com>
> Reviewed-by: Aya Levin <ayal@...lanox.com>
> Signed-off-by: Leon Romanovsky <leonro@...lanox.com>

Applied and queued up for -stable, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ