diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2006-03-22 21:55:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-22 21:55:11 (GMT) |
commit | 4e3882f77376e036a52b022909d7e910714bd27b (patch) | |
tree | ede6f69b055586450d50e9ec1ba99d35937f2233 /net/netfilter | |
parent | f0d835835ba30686dc085e98c8eeac0b9c26e3b2 (diff) | |
download | linux-4e3882f77376e036a52b022909d7e910714bd27b.tar.xz |
[NETFILTER]: conntrack: cleanup the conntrack ID initialization
Currently the first conntrack ID assigned is 2, use 1 instead.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_conntrack_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index f649823..c288406 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c @@ -85,8 +85,8 @@ unsigned int nf_ct_log_invalid; static LIST_HEAD(unconfirmed); static int nf_conntrack_vmalloc; -static unsigned int nf_conntrack_next_id = 1; -static unsigned int nf_conntrack_expect_next_id = 1; +static unsigned int nf_conntrack_next_id; +static unsigned int nf_conntrack_expect_next_id; #ifdef CONFIG_NF_CONNTRACK_EVENTS struct notifier_block *nf_conntrack_chain; struct notifier_block *nf_conntrack_expect_chain; |