[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241210175237.3342a9eb@kernel.org>
Date: Tue, 10 Dec 2024 17:52:37 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jason Gunthorpe <jgg@...pe.ca>
Cc: Bernard Metzler <bmt@...ich.ibm.com>, linux-rdma@...r.kernel.org,
leon@...nel.org, linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com, zyjzyj2000@...il.com,
syzbot+4b87489410b4efd181bf@...kaller.appspotmail.com
Subject: Re: [PATCH] RDMA/siw: Remove direct link to net_device
On Tue, 10 Dec 2024 10:56:27 -0400 Jason Gunthorpe wrote:
> > struct siw_device {
> > struct ib_device base_dev;
> > - struct net_device *netdev;
> > struct siw_dev_cap attrs;
> >
> > u32 vendor_part_id;
> > + struct {
> > + int ifindex;
>
> ifindex is only stable so long as you are holding a reference on the
> netdev..
Does not compute. Can you elaborate what you mean, Jason?
Powered by blists - more mailing lists