diff options
| author | Eran Ben Elisha <eranbe@mellanox.com> | 2015-06-15 17:58:56 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-06-15 17:23:01 -0700 |
| commit | efa6bc91cb85e03412c526c3ad0d2a9d733b5c6e (patch) | |
| tree | 0746338815d04ade2ce32327984821e6b2dd55fe /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | bridge: del external_learned fdbs from device on flush or ageout (diff) | |
| download | linux-efa6bc91cb85e03412c526c3ad0d2a9d733b5c6e.tar.gz linux-efa6bc91cb85e03412c526c3ad0d2a9d733b5c6e.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
