Files
linux-stable-mirror/include/net
Eric Dumazet 924eee694d net_sched: act_ctinfo: use atomic64_t for three counters
[ Upstream commit d300335b4e ]

Commit 21c167aa0b ("net/sched: act_ctinfo: use percpu stats")
missed that stats_dscp_set, stats_dscp_error and stats_cpmark_set
might be written (and read) locklessly.

Use atomic64_t for these three fields, I doubt act_ctinfo is used
heavily on big SMP hosts anyway.

Fixes: 24ec483cec ("net: sched: Introduce act_ctinfo action")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Pedro Tammela <pctammela@mojatatu.com>
Link: https://patch.msgid.link/20250709090204.797558-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:22:33 +02:00
..
2024-12-19 18:06:10 +01:00
2023-06-14 11:09:42 +02:00
2025-06-27 11:04:09 +01:00
2025-06-27 11:04:09 +01:00
2023-08-11 11:57:50 +02:00