summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorKOVACS Krisztian <hidden@balabit.hu>2005-09-16 16:59:46 -0700
committerDavid S. Miller <davem@davemloft.net>2005-09-16 16:59:46 -0700
commit4451362445b2d83886003f1d739b94e4f000eeeb (patch)
tree2f7d272bcb83011ea7df364f01ad08574701cf86 /Kbuild
parent1cbf07478bbf3e350a2025bc5ea23fedaa95855a (diff)
downloadop-kernel-dev-4451362445b2d83886003f1d739b94e4f000eeeb.zip
op-kernel-dev-4451362445b2d83886003f1d739b94e4f000eeeb.tar.gz
[NETFILTER] CLUSTERIP: introduce reference counting for entries
The CLUSTERIP target creates a procfs entry for all different cluster IPs. Although more than one rules can refer to a single cluster IP (and thus a single config structure), removal of the procfs entry is done unconditionally in destroy(). In more complicated situations involving deferred dereferencing of the config structure by procfs and creating a new rule with the same cluster IP it's also possible that no entry will be created for the new rule. This patch fixes the problem by counting the number of entries referencing a given config structure and moving the config list manipulation and procfs entry deletion parts to the clusterip_config_entry_put() function. Signed-off-by: KOVACS Krisztian <hidden@balabit.hu> Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud