Thread (3 messages) flat view 3 messages, 3 authors, 2012-11-15

Re: [PATCHv2] sctp: fix /proc/net/sctp/ memory leak

From: David Miller <davem@davemloft.net>
Date: 2012-11-15 18:56:29
Also in: linux-sctp

From: Tommi Rantala <redacted>
Date: Thu, 15 Nov 2012 15:49:05 +0200
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 <redacted>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help