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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 27 Jan 2020 20:05:22 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     Taehee Yoo <ap420073@...il.com>
Cc:     davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net v2 5/6] netdevsim: use __GFP_NOWARN to avoid
 memalloc warning

On Mon, 27 Jan 2020 14:30:53 +0000, Taehee Yoo wrote:
> vfnum buffer size and binary_len buffer size is received by user-space.
> So, this buffer size could be too large. If so, kmalloc will internally
> print a warning message.
> This warning message is actually not necessary for the netdevsim module.
> So, this patch adds __GFP_NOWARN.

> Fixes: 79579220566c ("netdevsim: add SR-IOV functionality")
> Fixes: 82c93a87bf8b ("netdevsim: implement couple of testing devlink health reporters")
> Signed-off-by: Taehee Yoo <ap420073@...il.com>

Reviewed-by: Jakub Kicinski <kuba@...nel.org>

Powered by blists - more mailing lists