[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLEEOKC7Xi3G_BTZbZqNx8hORoZMHMXxYu0D9U4dh-Jzg@mail.gmail.com>
Date: Fri, 8 Jul 2022 18:30:03 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
Kuniyuki Iwashima <kuniyu@...zon.com>,
"Eric W . Biederman" <ebiederm@...ssion.com>
Subject: Re: [PATCH net] af_unix: fix unix_sysctl_register() error path
On Fri, Jul 8, 2022 at 6:28 PM Eric Dumazet <edumazet@...gle.com> wrote:
>
> We want to kfree(table) if @table has been kmalloced,
> ie for non initial network namespace.
>
> Fixes: 849d5aa3a1d8 ("af_unix: Do not call kmemdup() for init_net's sysctl table.")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Kuniyuki Iwashima <kuniyu@...zon.com>
> Cc: Eric W. Biederman <ebiederm@...ssion.com>
> ---
Wrong tag in [PATCH net], this patch is for net-next tree.
Powered by blists - more mailing lists