Re: [PATCH v3 7/8] net: add ref_tracker_dir_debugfs() calls for netns refcount tracking
From: Andrew Lunn
Date: Thu Apr 17 2025 - 15:31:02 EST
On Thu, Apr 17, 2025 at 09:11:10AM -0400, Jeff Layton wrote:
> After assigning the inode number to the namespace, use it to create a
> unique name for each netns refcount tracker and register the debugfs
> files for them.
>
> init_net is registered before the ref_tracker dir is created, so add a
> late_initcall() to register its files.
>
> Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew