]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netxen: fix a race in netxen_nic_get_stats()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 18 Aug 2010 02:29:30 +0000 (02:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 07:44:03 +0000 (00:44 -0700)
commit502820a3161e2f228125977d133dd80eea2932d1
treec199c94802b332ba975c9c20a2160335d0865478
parent1003201a73daed739747b9a6c2c39c57aad5878b
netxen: fix a race in netxen_nic_get_stats()

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

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c