diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-02-07 00:55:37 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-01 08:56:38 -0700 |
commit | eaaeae50ea0230be49e4aca5ec48f6978537a242 (patch) | |
tree | d8c37b4acec6ab16c4f66c9f65c97e3615e252fe /include | |
parent | fe18256f3e2410e574cc48dbf033a706d000b0ff (diff) |
net: sctp: sctp_auth_key_put: use kzfree instead of kfree
[ Upstream commit 586c31f3bf04c290dc0a0de7fc91d20aa9a5ee53 ]
For sensitive data like keying material, it is common practice to zero
out keys before returning the memory back to the allocator. Thus, use
kzfree instead of kfree.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions