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