[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121115.135623.45874794041542310.davem@davemloft.net>
Date: Thu, 15 Nov 2012 13:56:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tt.rantala@...il.com
Cc: netdev@...r.kernel.org, nhorman@...driver.com, vyasevich@...il.com,
sri@...ibm.com, linux-sctp@...r.kernel.org, davej@...hat.com,
ebiederm@...ssion.com
Subject: Re: [PATCHv2] sctp: fix /proc/net/sctp/ memory leak
From: Tommi Rantala <tt.rantala@...il.com>
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 <tt.rantala@...il.com>
> Acked-by: Neil Horman <nhorman@...driver.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists