[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171205.145430.1769930310767064602.davem@davemloft.net>
Date: Tue, 05 Dec 2017 14:54:30 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jon.maloy@...csson.com
Cc: netdev@...r.kernel.org,
mohan.krishna.ghanta.krishnamurthy@...csson.com,
tung.q.nguyen@...tech.com.au, hoang.h.le@...tech.com.au,
canh.d.luu@...tech.com.au, ying.xue@...driver.com,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [net 1/1] tipc: fix memory leak in tipc_accept_from_sock()
From: Jon Maloy <jon.maloy@...csson.com>
Date: Mon, 4 Dec 2017 22:00:20 +0100
> When the function tipc_accept_from_sock() fails to create an instance of
> struct tipc_subscriber it omits to free the already created instance of
> struct tipc_conn instance before it returns.
>
> We fix that with this commit.
>
> Reported-by: David S. Miller <davem@...emloft.net>
> Signed-off-by: Jon Maloy <jon.maloy@...csson.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists