qlnic: fix a race in qlcnic_get_stats()
authorEric Dumazet <[email protected]>
Wed, 18 Aug 2010 00:42:48 +0000 (00:42 +0000)
committerDavid S. Miller <[email protected]>
Thu, 19 Aug 2010 07:44:02 +0000 (00:44 -0700)
commit1003201a73daed739747b9a6c2c39c57aad5878b
tree424bcc508c3f5fa6c15bb21e7c0a65e5a82eacb8
parent79c5f51c639021f7472591239c3867cee4b9ec02
qlnic: fix a race in qlcnic_get_stats()

Dont clear netdev->stats, it might give transient wrong values to
concurrent stat readers.

Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/qlcnic/qlcnic_main.c