Re: [PATCH] RDMA/i40iw: Fix incorrect iterator type
From: Jason Gunthorpe
Date: Wed Sep 19 2018 - 12:13:45 EST
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@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/i40iw/i40iw_cm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason