Re: [PATCH v2] selftests: netfilter: conntrack respect reject rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antonio Ojea <aojea@xxxxxxxxxx> wrote:
> +	# request from ns1 to vip (DNAT to ns2) on an existing connection
> +	# if we don't read from the pipe the traffic loops forever
> +	echo PING2 >> "$TMPFILEIN"
> +	sleep 0.5

This doesn't really work, 0.5 is too low for my machine
and the tests fail most of the time.

Can you rework this to use the busywait helper
instead of sleep?

The checks are also very repetitive, so there is potential
for code reuse.

Thanks.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux