Thread (20 messages) 20 messages, 2 authors, 2021-12-09

Re: [PATCH net-next 15/17] audit: add netns refcount tracker to struct audit_net

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-12-07 14:40:53

On Mon,  6 Dec 2021 16:51:40 -0800 Eric Dumazet wrote:
quoted hunk ↗ jump to hunk
From: Eric Dumazet <redacted>

Signed-off-by: Eric Dumazet <redacted>
---
 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.
quoted hunk ↗ jump to hunk
  * @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;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help