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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 26 Dec 2019 09:16:57 +0000
From:   Ido Schimmel <idosch@...lanox.com>
To:     Leon Romanovsky <leon@...nel.org>
CC:     "David S . Miller" <davem@...emloft.net>,
        mlxsw <mlxsw@...lanox.com>,
        Vladyslav Tarasiuk <vladyslavt@...lanox.com>,
        linux-netdev <netdev@...r.kernel.org>,
        Aya Levin <ayal@...lanox.com>,
        Leon Romanovsky <leonro@...lanox.com>
Subject: Re: [PATCH net] net/mlxfw: Fix out-of-memory error in mfa2 flash
 burning

On Thu, Dec 26, 2019 at 10:41:56AM +0200, Leon Romanovsky wrote:
> 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>

Tested-by: Ido Schimmel <idosch@...lanox.com>

Powered by blists - more mailing lists