diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-07-09 12:01:55 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-12 02:01:16 +0300 |
| commit | ba9dc9c14038b5f721e193f9e69ab73fd2f7bdd2 (patch) | |
| tree | 9e2c6f5debcb84b42747efafc69adf591e4ef34e /include | |
| parent | 0d752877705c0252ef2726e4c63c5573f048951c (diff) | |
| download | linux-ba9dc9c14038b5f721e193f9e69ab73fd2f7bdd2.tar.xz | |
net_sched: act_csum: use RCU in tcf_csum_dump()
Also storing tcf_action into struct tcf_csum_params
makes sure there is no discrepancy in tcf_csum_act().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250709090204.797558-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/tc_act/tc_csum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_csum.h b/include/net/tc_act/tc_csum.h index 2515da0142a6..8d0c7a9f9345 100644 --- a/include/net/tc_act/tc_csum.h +++ b/include/net/tc_act/tc_csum.h @@ -8,6 +8,7 @@ struct tcf_csum_params { u32 update_flags; + int action; struct rcu_head rcu; }; |
