From: Matt Carlson Date: Mon, 13 Feb 2012 15:20:09 +0000 (+0000) Subject: tg3: Fix stats while interface is down X-Git-Tag: v3.4-rc1~177^2~303 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b546e46f5c9f19a921d6f62db80f2e9371bc0558;p=pandora-kernel.git tg3: Fix stats while interface is down If the tg3 interface is down, the driver will return ethtool stats uninitialized. This patch zeroes out the destination stat buffer in such a case. Signed-off-by: Matt Carlson Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed