From: Tariq Toukan <[email protected]> Date: Wed, 23 May 2018 10:41:59 +0300
> From: Jack Morgenstein <[email protected]> > > spin_lock/unlock was used instead of spin_un/lock_irq > in a procedure used in process space, on a spinlock > which can be grabbed in an interrupt. > > This caused the stack trace below to be displayed (on kernel > 4.17.0-rc1 compiled with Lock Debugging enabled): ... > Since mlx4_qp_lookup() is called only in process space, we can > simply replace the spin_un/lock calls with spin_un/lock_irq calls. > > Fixes: 6dc06c08bef1 ("net/mlx4: Fix the check in attaching steering rules") > Signed-off-by: Jack Morgenstein <[email protected]> > Signed-off-by: Tariq Toukan <[email protected]> > --- > > Hi Dave, please queue for -stable >= 4.12. Applied and queued up for -stable, thanks.
