From: Tommi Rantala Date: Thu, 15 Nov 2012 03:49:05 +0000 (+0000) Subject: sctp: fix /proc/net/sctp/ memory leak X-Git-Tag: v3.7-rc6~3^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0da9a0c2638c8476b4a5021841912f249e3187dc;p=pandora-kernel.git sctp: fix /proc/net/sctp/ memory leak Commit 13d782f ("sctp: Make the proc files per network namespace.") changed the /proc/net/sctp/ struct file_operations opener functions to use single_open_net() and seq_open_net(). Avoid leaking memory by using single_release_net() and seq_release_net() as the release functions. Discovered with Trinity (the syscall fuzzer). Signed-off-by: Tommi Rantala Acked-by: Neil Horman Cc: "Eric W. Biederman" Signed-off-by: David S. Miller --- Reading git-diff-tree failed