diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2007-11-14 16:33:27 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-11-14 08:20:03 -0800 |
commit | e383d19e90cfbbf8e00512d44194ce175b3f60a2 (patch) | |
tree | fb1c2b81505605998cca9062d10b816784f6559f /kernel/resource.c | |
parent | 9a7666494bac60b99d2bd7d904bd22e8c9b1e3f7 (diff) |
mlx4_core: Fix thinko in QP destroy (incorrect bitmap_free)
Fix thinko in commit eaf559bf ("mlx4_core: Don't free special QPs in
QP number bitmap"). The old commit had the logic exactly backwards
and ended up freeing *only* special QPs, which not only left the
original bug in place but also introduced the problem that the QP
number bitmap would get full after a while.
Found by Dotan Barak of Mellanox.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions