mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] Fix warning empty list in svc_destroy
       [not found] <20261108134155.717-1-drifabdelmalekmohamedsaid@gmail.com>
@ 2026-11-08 13:42 ` syzbot
  0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2026-11-08 13:42 UTC (permalink / raw)
  To: drifabdelmalekmohamedsaid
  Cc: drifabdelmalekmohamedsaid, linux-kernel, syzkaller-bugs

> #syz test

"" does not look like a valid git branch or commit.

>
> diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
> index bc282b744f34..74247ed66933 100644
> --- a/fs/nfs/callback.c
> +++ b/fs/nfs/callback.c
> @@ -61,6 +61,12 @@ static int nfs4_callback_up_net(struct svc_serv *serv, struct net *net)
>  		dprintk("NFS: Callback listener port = %u (af %u, net %x)\n",
>  			nn->nfs_callback_tcpport6, PF_INET6, net->ns.inum);
>  	} else if (ret != -EAFNOSUPPORT)
> +		struct svc_xprt *xprt = svc_find_xprt(serv, "tcp", net, PF_INET,
> +			     nn->nfs_callback_tcpport);
> +		if (xprt) {
> +			svc_xprt_close(xprt);
> +			svc_xprt_put(xprt);
> +		}
>  		goto out_err;
>  	return 0;
>  
> -- 
> 2.47.3
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix warning empty list in svc_destroy
       [not found] <20261108135049.991-1-drifabdelmalekmohamedsaid@gmail.com>
@ 2026-11-08 13:50 ` syzbot
  0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2026-11-08 13:50 UTC (permalink / raw)
  To: drifabdelmalekmohamedsaid
  Cc: drifabdelmalekmohamedsaid, linux-kernel, syzkaller-bugs

> #syz test

"" does not look like a valid git branch or commit.

>
> diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
> index bc282b744f34..ebcca3dd1269 100644
> --- a/fs/nfs/callback.c
> +++ b/fs/nfs/callback.c
> @@ -60,8 +60,15 @@ static int nfs4_callback_up_net(struct svc_serv *serv, struct net *net)
>  		nn->nfs_callback_tcpport6 = ret;
>  		dprintk("NFS: Callback listener port = %u (af %u, net %x)\n",
>  			nn->nfs_callback_tcpport6, PF_INET6, net->ns.inum);
> -	} else if (ret != -EAFNOSUPPORT)
> +	} else if (ret != -EAFNOSUPPORT) {
> +		struct svc_xprt *xprt = svc_find_xprt(serv, "tcp", net, PF_INET,
> +			     nn->nfs_callback_tcpport);
> +		if (xprt) {
> +			svc_xprt_close(xprt);
> +			svc_xprt_put(xprt);
> +		}
>  		goto out_err;
> +	}
>  	return 0;
>  
>  out_err:
> -- 
> 2.47.3
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-08 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20261108134155.717-1-drifabdelmalekmohamedsaid@gmail.com>
2026-11-08 13:42 ` [PATCH] Fix warning empty list in svc_destroy syzbot
     [not found] <20261108135049.991-1-drifabdelmalekmohamedsaid@gmail.com>
2026-11-08 13:50 ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®