From: Eric Dumazet Date: Sun, 10 Oct 2010 19:55:52 +0000 (+0000) Subject: tg3: restore rx_dropped accounting X-Git-Tag: v2.6.36-rc8~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0057c51db66c5f0f38059f242c57d61c4741d89;p=pandora-kernel.git tg3: restore rx_dropped accounting commit 511d22247be7 (tg3: 64 bit stats on all arches), overlooked the rx_dropped accounting. We use a full "struct rtnl_link_stats64" to hold rx_dropped value, but forgot to report it in tg3_get_stats64(). Use an "unsigned long" instead to shrink "struct tg3" by 176 bytes, and report this value to stats readers. Increment rx_dropped counter for oversized frames. Signed-off-by: Eric Dumazet CC: Michael Chan CC: Matt Carlson Acked-by: Matt Carlson Signed-off-by: David S. Miller --- Reading git-diff-tree failed