Re: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects
From: David Howells
Date: Tue Apr 07 2020 - 16:20:06 EST
Waiman Long <longman@xxxxxxxxxx> wrote:
> sensitive data objects allocated by kvmalloc(). The relevnat places
"relevant".
> if (unlikely(key_data))
> - __kvzfree(key_data, key_data_len);
> + kvfree_sensitive(key_data, key_data_len);
I think the if-statement is redundant.
David