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-- 657 bytes
Makefile -rw-r--r-- 557 bytes
gen-devlist.c -rw-r--r-- 2.1 KB
names.c -rw-r--r-- 2.5 KB
proc.c -rw-r--r-- 3.2 KB
zorro-driver.c -rw-r--r-- 3.6 KB
zorro-sysfs.c -rw-r--r-- 2.6 KB
zorro.c -rw-r--r-- 5.0 KB
zorro.h -rw-r--r-- 117 bytes
zorro.ids -rw-r--r-- 15.2 KB

back to top