Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects | Date | Tue, 07 Apr 2020 21:21:57 +0100 |
| |
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
| |