commit | b72ca7e96acf7320c53c5d64d4518be1cf6d4ef3 | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Mon Jun 15 17:58:57 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 15 17:23:01 2015 -0700 |
tree | 0307b405d7a951e7ed6cd5364a405d9a64fa3a2e | |
parent | efa6bc91cb85e03412c526c3ad0d2a9d733b5c6e [diff] |
net/mlx4_core: Reset counters data when freed Add resetting the counter data to the free counter flow, so the counter's data won't be accessible anymore if querying the counter. Also, on next counter allocation (to another VM for example), it will be fresh and clear. 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>