On 10 Apr 2025, at 16:42, Jeff Layton wrote: > Currently, different NFS clients can share the same DS connections, even > when they are in different net namespaces. If a containerized client > creates a DS connection, another container can find and use it. When the > first client exits, the connection will which can lead to stalls in ^^ close ? > other clients. > > Add a net namespace pointer to struct nfs4_pnfs_ds, and compare those > value to the caller's netns in _data_server_lookup_locked() when > searching for a nfs4_pnfs_ds to match. > > Reported-by: Omar Sandoval <osandov@xxxxxxxxxxx> > Reported-by: Sargun Dillon <sargun@xxxxxxxxx> > Closes: https://lore.kernel.org/linux-nfs/Z_ArpQC_vREh_hEA@telecaster/ > Tested-by: Sargun Dillon <sargun@xxxxxxxxx> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> Looks good to me, Reviewed-by: Benjamin Coddington <bcodding@xxxxxxxxxx> Ben