diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-27 09:36:16 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-27 09:36:16 +0200 |
commit | 1a41e327bef444861324c2df86bd21f15aaf95c4 (patch) | |
tree | 51e722eebcd505c2bfd407d7d17a4090a8386456 /src/peer.c | |
parent | 90a9e82ba613d39951c8b6fb66d149a06b5b2298 (diff) |
compat: backport kfree_sensitive and switch to it
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -203,7 +203,7 @@ static void rcu_release(struct rcu_head *rcu) /* The final zeroing takes care of clearing any remaining handshake key * material and other potentially sensitive information. */ - kzfree(peer); + kfree_sensitive(peer); } static void kref_release(struct kref *refcount) |