Re: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects
From: David Howells
Date: Tue Apr 07 2020 - 16:22:08 EST
David Howells <dhowells@xxxxxxxxxx> 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