]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27486cc49d5554fc0a3902a34f6463b98d4ff1cb
tree58817161f4e3396ca5c87dcd786cf4a1a465e0f6
parent46f838f748424313f2c5269090bafc06f1b3fbb8
devlink: adopt u64_stats_t

As explained in commit 6e4d7df7bad9 ("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