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: <004601d726d7$f3798310$da6c8930$@samsung.com>
Date:   Thu, 1 Apr 2021 18:18:17 +0900
From:   "Namjae Jeon" <namjae.jeon@...sung.com>
To:     "'Muhammad Usama Anjum'" <musamaanjum@...il.com>
Cc:     "'Sergey Senozhatsky'" <sergey.senozhatsky@...il.com>,
        "'Steve French'" <sfrench@...ba.org>,
        "'Hyunchul Lee'" <hyc.lee@...il.com>,
        "'open list:COMMON INTERNET FILE SYSTEM SERVER \(CIFSD\)'" 
        <linux-cifs@...r.kernel.org>,
        "'open list:COMMON INTERNET FILE SYSTEM SERVER \(CIFSD\)'" 
        <linux-cifsd-devel@...ts.sourceforge.net>,
        "'open list'" <linux-kernel@...r.kernel.org>,
        <kernel-janitors@...r.kernel.org>, <colin.king@...onical.com>,
        <dan.carpenter@...cle.com>
Subject: RE: [PATCH] cifsd: use kfree to free memory allocated by kmalloc or
 kzalloc

> 
> kfree should be used to free memory allocated by kmalloc or kzalloc to avoid any overhead and for
> maintaining consistency.
> 
> Fixes: 5dfeb6d945 ("cifsd: use kmalloc() for small allocations")
> Signed-off-by: Muhammad Usama Anjum <musamaanjum@...il.com>
Looks good. I will apply. Thanks for your patch!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ