]> git.baikalelectronics.ru Git - kernel.git/commit
drop_monitor: adopt u64_stats_t
authorEric Dumazet <edumazet@google.com>
Wed, 8 Jun 2022 15:46:39 +0000 (08:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:53:12 +0000 (21:53 -0700)
commitace7c01161ddfb6b72d41543682e6bc02472e567
tree1f33709abcfe58c301e9eb100f3e40c0d9ba718b
parent27486cc49d5554fc0a3902a34f6463b98d4ff1cb
drop_monitor: 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/drop_monitor.c