diff options
author | 2018-02-16 12:49:33 +0100 | |
---|---|---|
committer | 2018-02-25 20:02:51 +0100 | |
commit | 1a9da5937386dbe553ffcf6c65d985bd48c347c5 (patch) | |
tree | f36b3e66662b97534c91743863b0c7456c4f486c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount (diff) | |
download | wireguard-linux-1a9da5937386dbe553ffcf6c65d985bd48c347c5.tar.xz wireguard-linux-1a9da5937386dbe553ffcf6c65d985bd48c347c5.zip |
netfilter: ipt_CLUSTERIP: put config instead of freeing it
Once struct is added to per-netns list it becomes visible to other cpus,
so we cannot use kfree().
Also delay setting entries refcount to 1 until after everything is
initialised so that when we call clusterip_config_put() in this spot
entries is still zero.
Signed-off-by: Florian Westphal <fw@strlen.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