devlink: adopt u64_stats_t
authorEric Dumazet <edumazet@google.com>
Wed, 8 Jun 2022 15:46:38 +0000 (08:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:53:11 +0000 (21:53 -0700)
commit958751e0807d5b2316cc4c7c2834ba9a0fe1b9e8
tree58817161f4e3396ca5c87dcd786cf4a1a465e0f6
parent9962acefbcb92736c268aafe5f52200948f60f3e
devlink: adopt u64_stats_t

As explained in commit 316580b69d0a ("u64_stats: provide u64_stats_t type")
we should use u64_stats_t and related accessors to avoid load/store tearing.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c