[Devel] Re: [NETFILTER] early_drop() imrovement (v4)
Patrick McHardy
kaber at trash.net
Wed Jun 27 06:28:39 PDT 2007
Vasily Averin wrote:
> Patrick McHardy wrote:
>
>>+ for (i = 0; i < nf_conntrack_htable_size; i++) {
>>+ hlist_for_each_entry(h, n, &nf_conntrack_hash[hash], hnode) {
>>+ tmp = nf_ct_tuplehash_to_ctrack(h);
>>+ if (!test_bit(IPS_ASSURED_BIT, &tmp->status))
>>+ ct = tmp;
>
>
> It is incorrect: you should break nested loop here too.
No, as I said, we want the last entry of the chain.
More information about the Devel
mailing list