From: syzbot <syzbot+8cbdf9aa6c281a4e6bbe@syzkaller.appspotmail.com>
To: drifabdelmalekmohamedsaid@gmail.com
Cc: drifabdelmalekmohamedsaid@gmail.com,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] Fix warning empty list in svc_destroy
Date: Sun, 08 Nov 2026 05:50:53 -0800 [thread overview]
Message-ID: <6af07e3d.5a668245.1aceb6.000c.GAE@google.com> (raw)
In-Reply-To: <20261108135049.991-1-drifabdelmalekmohamedsaid@gmail.com>
> #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
>
next parent reply other threads:[~2026-11-08 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261108135049.991-1-drifabdelmalekmohamedsaid@gmail.com>
2026-11-08 13:50 ` syzbot [this message]
[not found] <20261108134155.717-1-drifabdelmalekmohamedsaid@gmail.com>
2026-11-08 13:42 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6af07e3d.5a668245.1aceb6.000c.GAE@google.com \
--to=syzbot+8cbdf9aa6c281a4e6bbe@syzkaller.appspotmail.com \
--cc=drifabdelmalekmohamedsaid@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®