mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
mm: remove kzfree() compatibility definition
Commit 453431a549
("mm, treewide: rename kzfree() to
kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
but it left a compatibility definition of kzfree() to avoid
being too disruptive.
Since then a few more instances of kzfree() have slipped in.
Just get rid of them and remove the compatibility definition
once and for all.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0f7f635b06
commit
23224e4500
@@ -418,7 +418,7 @@ static void tipc_aead_free(struct rcu_head *rp)
|
||||
kfree(head);
|
||||
}
|
||||
free_percpu(aead->tfm_entry);
|
||||
kzfree(aead->key);
|
||||
kfree_sensitive(aead->key);
|
||||
kfree(aead);
|
||||
}
|
||||
|
||||
@@ -2452,7 +2452,7 @@ static void tipc_crypto_work_tx(struct work_struct *work)
|
||||
tipc_crypto_key_init(tx, skey, PER_NODE_KEY, false);
|
||||
if (likely(rc > 0))
|
||||
rc = tipc_crypto_key_distr(tx, rc, NULL);
|
||||
kzfree(skey);
|
||||
kfree_sensitive(skey);
|
||||
}
|
||||
|
||||
if (unlikely(rc))
|
||||
|
Reference in New Issue
Block a user