mlx4_core: Don't free special QPs in QP number bitmap
authorRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:05 +0000 (19:59 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:05 +0000 (19:59 -0700)
commiteaf559bf566f76887533c077d425adce847f06c8
tree3ebe7ff1b45cd648a2aa190d437ba923263455c9
parent36ce10d3e849c2f9efa3fd647058de398ee276eb
mlx4_core: Don't free special QPs in QP number bitmap

Special QPs are not allocated using the regular QP number bitmap, so
when they are destroyed, their QP number should not be freed in the
bitmap.

Found by Dotan Barak of Mellanox.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/qp.c