[ofa-general] ***SPAM*** [PATCH v2] ipoib: fix hang while bringing down uninitialized interface

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Sep 16 00:59:33 PDT 2008


Yossi Etigin wrote:
> Fix bug #1172: If a pkey for an interface is not found during
> initialization, then poll_timer is left uninitialized. When the
> device is brought down, ipoib tries to del_timer_sync() it. This
> call hangs in an infinite loop in lock_timer_base(), because
> timer_base is NULL. We should check whether the timer was really
> initialized.
> 
> Changes from v1:
> - handle a case when ipoib_ib_dev_stop() is called twice on the
>   same dev->priv - zero the timer after its deletion.
> 
> Signed-off-by: Yossi Etigin <yosefe at voltaire.com>
> PS
> Vlad, please replace the patch ipoib_0400_fix_hang_while_bringing_down
> by this one.
> 

Done,

Regards,
Vladimir



More information about the general mailing list