[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180919161341.GB9867@ziepe.ca>
Date: Wed, 19 Sep 2018 10:13:41 -0600
From: Jason Gunthorpe <jgg@...pe.ca>
To: Håkon Bugge <Haakon.Bugge@...cle.com>
Cc: Doug Ledford <dledford@...hat.com>, faisal.latif@...el.com,
shiraz.saleem@...el.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/i40iw: Fix incorrect iterator type
On Mon, Sep 17, 2018 at 04:07:07PM +0200, Håkon Bugge wrote:
> Commit f27b4746f378 ("i40iw: add connection management code") uses an
> incorrect rcu iterator, whilst holding the rtnl_lock. Since the
> critical region invokes i40iw_manage_qhash(), which is a sleeping
> function, the rcu locking and traversal cannot be used.
>
> Signed-off-by: Håkon Bugge <haakon.bugge@...cle.com>
> ---
> drivers/infiniband/hw/i40iw/i40iw_cm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists