]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: sctp: sctp_endpoint_free: zero out secret key data
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 8 Feb 2013 03:04:35 +0000 (03:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 19:54:24 +0000 (14:54 -0500)
commitb5c37fe6e24eec194bb29d22fdd55d73bcc709bf
tree1a4ba4d878e6d2ff60b874a8f465ada2ac54bff7
parent6ba542a291a5e558603ac51cda9bded347ce7627
net: sctp: sctp_endpoint_free: zero out secret key data

On sctp_endpoint_destroy, previously used sensitive keying material
should be zeroed out before the memory is returned, as we already do
with e.g. auth keys when released.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/endpointola.c