kernel-ark/net
KOVACS Krisztian 4451362445 [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>
2005-09-16 16:59:46 -07:00
..
802
8021q
appletalk
atm
ax25 [AX.25]: Reformat ax25_proto_ops initialization 2005-09-12 14:25:25 -07:00
bluetooth [Bluetooth] Prevent RFCOMM connections through the RAW socket 2005-09-13 01:32:31 +02:00
bridge [BRIDGE-NF]: Fix iptables redirect on bridge interface 2005-09-14 20:55:16 -07:00
core [NET]: fix-up schedule_timeout() usage 2005-09-12 14:15:34 -07:00
dccp [DCCP]: Introduce DCCP_SOCKOPT_SERVICE 2005-09-16 16:58:40 -07:00
decnet
econet
ethernet
ieee80211
ipv4 [NETFILTER] CLUSTERIP: introduce reference counting for entries 2005-09-16 16:59:46 -07:00
ipv6 [IPV6]: Fix per-socket multicast filtering in sk_reuse case 2005-09-14 21:10:20 -07:00
ipx
irda [NET]: fix-up schedule_timeout() usage 2005-09-12 14:15:34 -07:00
key
lapb
llc
netfilter
netlink
netrom [NETROM]: Introduct stuct nr_private 2005-09-12 14:28:03 -07:00
packet
rose [ROSE]: ROSE has no ARP 2005-09-12 14:26:52 -07:00
rxrpc
sched
sctp
sunrpc [PATCH] Code cleanups in calbacks in svcsock 2005-09-13 08:22:32 -07:00
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c [NET]: Do not leak MSG_CMSG_COMPAT into userspace. 2005-09-16 16:51:01 -07:00
sysctl_net.c
TUNABLE