]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[MTHCA] bugfix: mthca_array_clear() does not clear the slot if the used count is
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Aug 2006 10:11:10 +0000 (10:11 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Aug 2006 10:11:10 +0000 (10:11 +0000)
commitb8ccf562a501782effbe67d66b42b8caf9c246fc
treec5a436cacbb107991b467547a50e7366176dc0c2
parent150878e1eca10b7af05e7e5063c08cfb2acb15d4
[MTHCA] bugfix: 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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@435 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/hw/mthca/kernel/mthca_allocator.c