]> git.baikalelectronics.ru Git - kernel.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)
commit8b2e067bf9b2ef0373a871e2474b3a3b7e2f3e81
tree4f8b344abda53bfe0722d4d9ea01bf5a85615e30
parent5ba23f61914ae8ac5890db196fd64923caf9f441
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