aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-02-07 00:55:37 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-07 23:43:42 -0500
commit586c31f3bf04c290dc0a0de7fc91d20aa9a5ee53 (patch)
tree84d768747eb049ea3aab6fe7dcb26c0657a5a5d3 /net/l2tp/l2tp_core.c
parent6cddded4af7ca3a4567a301dbc43357e65a893b6 (diff)
downloadkernel_goldelico_gta04-586c31f3bf04c290dc0a0de7fc91d20aa9a5ee53.zip
kernel_goldelico_gta04-586c31f3bf04c290dc0a0de7fc91d20aa9a5ee53.tar.gz
kernel_goldelico_gta04-586c31f3bf04c290dc0a0de7fc91d20aa9a5ee53.tar.bz2
net: sctp: sctp_auth_key_put: use kzfree instead of kfree
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>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
0 files changed, 0 insertions, 0 deletions