Re: [PATCH] NFSD: net ref data still needs to be freed even if net hasn't startup

Chuck Lever
2025-12-16T16:02:46Z

From: Chuck Lever <chuck.lever@oracle.com>

On Tue, 16 Dec 2025 18:27:37 +0800, Edward Adam Davis wrote:
> When the NFSD instance doesn't to startup, the net ref data memory is
> not properly reclaimed, which triggers the memory leak issue reported
> by syzbot [1].
>
> To avoid the problem reported in [1], the net ref data memory reclamation
> action is moved outside of nfsd_net_up when the net is shutdown.
>
> [...]

Applied to nfsd-testing, thanks!

[1/1] NFSD: net ref data still needs to be freed even if net hasn't startup
commit: 339bafeb9942cb3f42c34ed5fcf1fbe377a492da

--
Chuck Lever