[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211207064048.363f22ee@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 7 Dec 2021 06:40:48 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: "David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next 15/17] audit: add netns refcount tracker to
struct audit_net
On Mon, 6 Dec 2021 16:51:40 -0800 Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> kernel/audit.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/audit.c b/kernel/audit.c
> index 121d37e700a62b53854c06199d9a89850ec39dd4..27013414847678af4283484feab2461e3d9c67ed 100644
> --- a/kernel/audit.c
> +++ b/kernel/audit.c
> @@ -96,6 +96,7 @@ struct audit_net {
> * @pid: auditd PID
> * @portid: netlink portid
> * @net: the associated network namespace
> + * ns_tracker: tracker for @net reference
You need the '@' sign. I'll add it when applying.
> * @rcu: RCU head
> *
> * Description:
> @@ -106,6 +107,7 @@ struct auditd_connection {
> struct pid *pid;
> u32 portid;
> struct net *net;
> + netns_tracker ns_tracker;
> struct rcu_head rcu;
> };
> static struct auditd_connection __rcu *auditd_conn;
Powered by blists - more mailing lists