commit | efa6bc91cb85e03412c526c3ad0d2a9d733b5c6e | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Mon Jun 15 17:58:56 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 15 17:23:01 2015 -0700 |
tree | 0746338815d04ade2ce32327984821e6b2dd55fe | |
parent | b4ad7baa01970d2c5096fbbcb0c593e199c6f18b [diff] |
net/mlx4_core: Check before cleaning counters bitmap If counters are not supported by the device. The indices bitmap table is not allocated during initialization. Add the symmetrical check before cleaning the counters bitmap table or freeing a counter. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>