On Fri, Aug 13, 2021 at 04:06:26PM -0500, Bob Pearson wrote: > rxe_mcast_add_grp_elem() in rxe_mcast.c calls rxe_alloc() while holding > spinlocks which in turn calls kzalloc(size, GFP_KERNEL) which is incorrect. > This patch replaces rxe_alloc() by rxe_alloc_locked() which uses GFP_ATOMIC. > This bug was caused by the below mentioned commit and failing to handle the > need for the atomic allocate. > > Fixes: 4276fd0dddc9 ("Remove RXE_POOL_ATOMIC") > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Bob Pearson <rpearsonhpe@xxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_mcast.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-rc, thanks Jason