Thread (2 messages) 2 messages, 2 authors, 2017-12-05

Re: [net 1/1] tipc: fix memory leak in tipc_accept_from_sock()

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-12-05 19:54:32

From: Jon Maloy <redacted>
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@davemloft.net>
Signed-off-by: Jon Maloy <redacted>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help