From: Eran Ben Elisha Date: Wed, 18 Mar 2015 14:51:36 +0000 (+0200) Subject: net/mlx4_en: Fix off-by-one in ethtool statistics display X-Git-Tag: omap-for-v4.1/fixes-rc1~306^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a16f3565703cfc3094938fb3c979cbb90f6d9eb4;p=pandora-kernel.git net/mlx4_en: Fix off-by-one in ethtool statistics display NUM_PORT_STATS was 9 instead of 10, which caused off-by-one bug when displaying the statistics starting from tx_chksum_offload in ethtool. Fixes: f8c6455bb04b ('net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE') 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