From: Eran Ben Elisha Date: Mon, 15 Jun 2015 14:58:57 +0000 (+0300) Subject: net/mlx4_core: Reset counters data when freed X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~58^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b72ca7e96acf7320c53c5d64d4518be1cf6d4ef3;p=pandora-kernel.git 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 Signed-off-by: Hadar Hen Zion Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed