Thread (1 message) 1 message, 1 author, 2012-08-07

Re: [PATCH] IB/mlx4: fix possible deadlock with sm_lock spinlock

From: Bart Van Assche <hidden>
Date: 2012-08-07 18:35:10

On 08/03/12 08:26, Jack Morgenstein wrote:
The sm_lock spinlock is taken in the process context by mlx4_ib_modify_device,
and in the interrupt context by update_sm_ah.

Need to take that spinlock with irqsave, and release it with irqrestore.

[ ... ]

Reported by: Or Gerlitz [off-list ref]
Signed-off-by: Jack Morgenstein <redacted>
Tested-by: Bart Van Assche <redacted>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help