commit | de7d5084d82794a8e83afb994fcb07f82da3cd7b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Nov 07 16:27:14 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 07 20:03:08 2019 -0800 |
tree | 6fac49846721fd5f09d7770276707e39283537ab | |
parent | 0f030bdb16dc1282e58c5825e5662e351142f605 [diff] |
net: provide dev_lstats_read() helper Many network drivers use hand-coded implementation of the same thing, let's factorize things so that u64_stats_t adoption is done once. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>