[ofa-general] [PATCH] IB/ipoib: avoid WARN_ON on NULL path->ah

Eli Cohen eli at dev.mellanox.co.il
Tue Sep 23 08:16:27 PDT 2008


On Tue, Sep 23, 2008 at 07:49:51AM -0700, Roland Dreier wrote:
> 
> So is this patch fixing a crash or just avoiding a WARN_ON?  I'm not
> going to send a change that just affects warnings for 2.6.27, but if
> it's an oops that triggers in real life then that's different.

It's not just the WARN_ON thing. It also prevents a deadlock as
appears in bug #1194, caused by dropping the last reference on an ah
while priv->lock is held.



More information about the general mailing list