From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: netdev <netdev@vger.kernel.org>,
Eric Dumazet <eric.dumazet@gmail.com>,
Kuniyuki Iwashima <kuniyu@amazon.com>,
"Eric W . Biederman" <ebiederm@xmission.com>
Subject: Re: [PATCH net] af_unix: fix unix_sysctl_register() error path
Date: Fri, 8 Jul 2022 18:30:03 +0200 [thread overview]
Message-ID: <CANn89iLEEOKC7Xi3G_BTZbZqNx8hORoZMHMXxYu0D9U4dh-Jzg@mail.gmail.com> (raw)
In-Reply-To: <20220708162858.1955086-1-edumazet@google.com>
On Fri, Jul 8, 2022 at 6:28 PM Eric Dumazet <edumazet@google.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@google.com>
> Cc: Kuniyuki Iwashima <kuniyu@amazon.com>
> Cc: Eric W. Biederman <ebiederm@xmission.com>
> ---
Wrong tag in [PATCH net], this patch is for net-next tree.
next prev parent reply other threads:[~2022-07-08 16:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 16:28 [PATCH net] af_unix: fix unix_sysctl_register() error path Eric Dumazet
2022-07-08 16:30 ` Eric Dumazet [this message]
2022-07-08 16:41 ` Kuniyuki Iwashima
2022-07-09 11:40 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANn89iLEEOKC7Xi3G_BTZbZqNx8hORoZMHMXxYu0D9U4dh-Jzg@mail.gmail.com \
--to=edumazet@google.com \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=eric.dumazet@gmail.com \
--cc=kuba@kernel.org \
--cc=kuniyu@amazon.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.