From: Daniel Borkmann Date: Thu, 7 Feb 2013 00:55:37 +0000 (+0000) Subject: net: sctp: sctp_auth_key_put: use kzfree instead of kfree X-Git-Tag: v3.2.45~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5c2767c8c12861bafc76e1f33435af3f92f40f;p=pandora-kernel.git 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 Acked-by: Neil Horman Acked-by: Vlad Yasevich Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed