lkml.org 
[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects
Date
David Howells <dhowells@redhat.com> wrote:

> > if (unlikely(key_data))
> > - __kvzfree(key_data, key_data_len);
> > + kvfree_sensitive(key_data, key_data_len);
>
> I think the if-statement is redundant.

Ah - I see that you explicitly wanted to keep it. There's a good chance it'll
get janitored at some point.

David

\
 
 \ /
  Last update: 2020-04-07 22:22    [W:0.818 / U:3.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site