Revision bf74c7479ef47652005a2418eeb0d867451690da authored by Michael S. Tsirkin on 26 July 2006, 13:02:53 UTC, committed by Roland Dreier on 03 August 2006, 16:44:21 UTC
mthca_array_clear() does not clear the slot if the used count is
positive. This leads to crashes in mthca_qp_event() since that uses
mthca_array_get() to check that the qp is valid.

Discovered by Ali Ayoub.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
1 parent 3f2792f
History
File Mode Size
Kconfig -rw-r--r-- 789 bytes
Makefile -rw-r--r-- 116 bytes
dmaengine.c -rw-r--r-- 11.9 KB
ioatdma.c -rw-r--r-- 23.0 KB
ioatdma.h -rw-r--r-- 3.0 KB
ioatdma_hw.h -rw-r--r-- 1.7 KB
ioatdma_io.h -rw-r--r-- 3.5 KB
ioatdma_registers.h -rw-r--r-- 5.1 KB
iovlock.c -rw-r--r-- 7.7 KB

back to top