[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e0ee6c07-aaf1-4ed6-8c7f-3db772652f16@6wind.com>
Date: Mon, 19 Feb 2024 18:19:16 +0100
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
chuck.lever@...cle.com, jiri@...nulli.us, willemb@...gle.com
Subject: Re: [PATCH net 3/3] tools: ynl: don't leak mcast_groups on init error
Le 17/02/2024 à 01:17, Jakub Kicinski a écrit :
> Make sure to free the already-parsed mcast_groups if
> we don't get an ack from the kernel when reading family info.
> This is part of the ynl_sock_create() error path, so we won't
> get a call to ynl_sock_destroy() to free them later.
>
> Fixes: 86878f14d71a ("tools: ynl: user space helpers")
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Acked-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Powered by blists - more mailing lists