diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-06-19 20:07:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-20 13:02:36 -0700 |
commit | 306ff6eb8e9c18bcafb8ca5be4be3c78dfe45475 (patch) | |
tree | 02fdfd2682061ca9078962cf41a32d3f40c95043 /net/core/timestamping.c | |
parent | eac56465b88cc9ad3b964a9f0a02be3d3a136ddf (diff) | |
download | lwn-306ff6eb8e9c18bcafb8ca5be4be3c78dfe45475.tar.gz lwn-306ff6eb8e9c18bcafb8ca5be4be3c78dfe45475.zip |
myricom: remove stats_lock
stats_lock is non useless, lets remove it.
Also, ndo_get_stats64() doesnt have to clear the stats, caller takes
care of this.
Note: folding 32bit fields in 64bit one is problematic when one of 32bit
values wraps : SNMP reader will see a ~2^32 back change in a 64bit
value. A future patch should fix this.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Stephen Hemminger <shemminger@vyatta.com>
CC: Andrew Gallatin <gallatin@myri.com>
CC: Brice Goglin <brice@myri.com>
Acked-by: Jon Mason <mason@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/timestamping.c')
0 files changed, 0 insertions, 0 deletions