xt_connlimit 20070625

Jan Engelhardt jengelh at computergmbh.de
Mon Jun 25 17:14:45 CEST 2007


On Jun 25 2007 17:05, Patrick McHardy wrote:
>Jan Engelhardt wrote:
>> On Jun 25 2007 16:46, Patrick McHardy wrote:
>>>static int hash(...)
>>>{
>>>	if (unlikely(!hash_rnd_initted)) {
>>>		get_random_bytes(&hash_rnd, 4);
>>>		hash_rnd_initted = 1;
>>>	}
>> 
>> Looks expensive, though.
>
>Its executed once.

I mean the if().


	Jan
-- 



More information about the netfilter-devel mailing list