diff options
author | 2022-11-22 18:45:59 +0200 | |
---|---|---|
committer | 2022-12-10 22:44:42 +0100 | |
commit | 5df7d714d8cbcce7642936cc0f6532f0c4c3d197 (patch) | |
tree | 4679d2780197bfe157385e4059ad76720f48fcf0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: flowtable: add a 'default' case to flowtable datapath (diff) | |
download | linux-rng-5df7d714d8cbcce7642936cc0f6532f0c4c3d197.tar.xz linux-rng-5df7d714d8cbcce7642936cc0f6532f0c4c3d197.zip |
ipvs: add rcu protection to stats
In preparation to using RCU locking for the list
with estimators, make sure the struct ip_vs_stats
are released after RCU grace period by using RCU
callbacks. This affects ipvs->tot_stats where we
can not use RCU callbacks for ipvs, so we use
allocated struct ip_vs_stats_rcu. For services
and dests we force RCU callbacks for all cases.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Cc: yunhong-cgl jiang <xintian1976@gmail.com>
Cc: "dust.li" <dust.li@linux.alibaba.com>
Reviewed-by: Jiri Wiesner <jwiesner@suse.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions