RE: [PATCH] RDMA/i40iw: Fix incorrect iterator type

From: Saleem, Shiraz
Date: Sun Sep 23 2018 - 10:27:46 EST


>Subject: [PATCH] RDMA/i40iw: Fix incorrect iterator type
>
>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(-)

Thanks doing this Hakon!

Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>