diff options
author | KOVACS Krisztian <hidden@balabit.hu> | 2005-09-16 17:00:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-16 17:00:04 -0700 |
commit | 136e92bbec0a6d4c2dd1e5b5ac869ab5470547a4 (patch) | |
tree | 514a8ae63cc351bafdd47d605afca005753f1e90 /net/ipv4/netfilter/ip_conntrack_core.c | |
parent | 4451362445b2d83886003f1d739b94e4f000eeeb (diff) |
[NETFILTER] CLUSTERIP: use a bitmap to store node responsibility data
Instead of maintaining an array containing a list of nodes this instance
is responsible for let's use a simple bitmap. This provides the
following features:
* clusterip_responsible() and the add_node()/delete_node() operations
become very simple and don't need locking
* the config structure is much smaller
In spite of the completely different internal data representation the
user-space interface remains almost unchanged; the only difference is
that the proc file does not list nodes in the order they were added.
(The target info structure remains the same.)
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 'net/ipv4/netfilter/ip_conntrack_core.c')
0 files changed, 0 insertions, 0 deletions