[ewg] 1.5.4 pull request
Mike Marciniszyn
mike.marciniszyn at qlogic.com
Mon Jul 25 09:54:43 PDT 2011
Vlad,
Please pull the following patches from
git.openfabrics.org/~mmarciniszyn/scm/linux-2.6.to_ofed.
Thanks!
Mike
commit 5f675786d95583277d58d691464eede03c7ae8f0
Author: Ram Vepa <ram.vepa at qlogic.com>
Date: Mon Jul 25 12:49:09 2011 -0400
IB/qib: Fix potential deadlock with link down interrupt
There is a possibility of a deadlock due to the way locks are acquired and
released in qib_set_uevent_bits(). The function qib_set_uevent_bits() is cal
in process context calling spin_lock() and spin_unlock() while this same loc
is acquired/released in interrupt context which can lead to a deadlock when
running on the same cpu.
The fix is to replace spin_lock() and spin_unlock() with spin_lock_irqsave()
and spin_unlock_irqrestore() respectively in qib_set_uevent_bits().
Signed-off-by: Ram Vepa <ram.vepa at qlogic.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn at qlogic.com>
This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
More information about the ewg
mailing list