]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
bnx2x: small fix in stats handling
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 23 Aug 2010 19:44:08 +0000 (19:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2010 23:29:21 +0000 (16:29 -0700)
commitc6a056a349d10a6e879ca1be6067873b6feed259
tree4f8b344abda53bfe0722d4d9ea01bf5a85615e30
parentc061b18df0f1fe3f50fe451dbbdc9ede3c19701a
bnx2x: small fix in stats handling

Use a private variable to fold rx_dropped value, instead of shared
destination buffer, as it might break SNMP applications.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Eilon Greenstein <eilong@broadcom.com>
CC: Dmitry Kravkov <dmitry@broadcom.com>
Acked-By: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_stats.c