commit | fd2f4737870eb866537fbbffa2b59414b9b0c0a2 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Nov 07 16:27:22 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 07 20:03:08 2019 -0800 |
tree | 1a717aaeccccc9d8ff8f923dc9ac4f0d840655cd | |
parent | 5260dd3ed1ff7eba39251b28977e4d8950e2f099 [diff] |
net: use u64_stats_t in struct pcpu_lstats In order to fix the data-race found by KCSAN, we can use the new u64_stats_t type and its accessors instead of plain u64 fields. This will still generate optimal code for both 32 and 64 bit platforms. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>