From: Rajesh Borundia Date: Mon, 4 Aug 2014 15:51:16 +0000 (-0400) Subject: qlcnic: Fix update of ethtool stats. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0eaf75c03712b491b7a840b5836c8f1e2a09277;p=pandora-kernel.git qlcnic: Fix update of ethtool stats. o Aggregating tx stats in adapter variable was resulting in an increase in stats even after no traffic was run and user runs ifconfig/ethtool command. o qlcnic_update_stats used to accumulate stats in adapter struct at each function call, instead accumulate tx stats in local variable and then assign it to adapter structure. Reported-by: Holger Kiehl Signed-off-by: Rajesh Borundia Signed-off-by: David S. Miller --- Reading git-diff-tree failed