projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netvsc: Initialize 64-bit stats seqcount
[linux-2.6-block.git]
/
drivers
/
net
/
hyperv
/
netvsc.c
diff --git
a/drivers/net/hyperv/netvsc.c
b/drivers/net/hyperv/netvsc.c
index 0a9167dd72fb94e50692fa70ec9bc50fd99f733e..96f90c75d1b727edceb69925b127aed1415c792a 100644
(file)
--- a/
drivers/net/hyperv/netvsc.c
+++ b/
drivers/net/hyperv/netvsc.c
@@
-1302,6
+1302,8
@@
int netvsc_device_add(struct hv_device *device,
struct netvsc_channel *nvchan = &net_device->chan_table[i];
nvchan->channel = device->channel;
+ u64_stats_init(&nvchan->tx_stats.syncp);
+ u64_stats_init(&nvchan->rx_stats.syncp);
}
/* Enable NAPI handler before init callbacks */