From: Zhu Yanjun <yanjun.zhu@linux.dev>
To: syzbot <syzbot+72eddfbadda3e3928e72@syzkaller.appspotmail.com>,
jgg@ziepe.ca, leon@kernel.org, linux-kernel@vger.kernel.org,
linux-rdma@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [rdma?] WARNING in res_to_rt
Date: Sun, 9 Aug 2026 15:27:04 -0700 [thread overview]
Message-ID: <e878b0e0-a375-4bad-ba85-2b3a24ac060d@linux.dev> (raw)
In-Reply-To: <6a778cc0.01d0871a.3a0d52.006e.GAE@google.com>
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index cc24fddf9aaa..35e463a20ade 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -3531,7 +3531,8 @@ static void addr_handler(int status, struct
sockaddr *src_addr,
if (status)
pr_debug_ratelimited("RDMA CM: ADDR_ERROR:
failed to acquire device. status %d\n",
status);
- rdma_restrack_add(&id_priv->res);
+ if (id_priv->id.device)
+ rdma_restrack_add(&id_priv->res);
} else if (status) {
pr_debug_ratelimited("RDMA CM: ADDR_ERROR: failed to
resolve IP. status %d\n", status);
}
next prev parent reply other threads:[~2026-08-09 22:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-08 20:08 [syzbot] [rdma?] WARNING in res_to_rt syzbot
2026-08-09 22:27 ` Zhu Yanjun [this message]
2026-08-09 23:46 ` Zhu Yanjun
2026-08-10 0:45 ` syzbot
2026-08-10 22:24 ` Zhu Yanjun
2026-08-10 23:35 ` 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=e878b0e0-a375-4bad-ba85-2b3a24ac060d@linux.dev \
--to=yanjun.zhu@linux.dev \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=syzbot+72eddfbadda3e3928e72@syzkaller.appspotmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.