On Mon, May 16, 2016 at 09:30:15PM -0600, subashab@xxxxxxxxxxxxxx wrote: > > > >My impression after looking at this patch is that you can simplify it > >using 'struct timeval' and use select() to wait for the time you need. > > > > Hi Pablo > > Sure, I can send a v3 with the select. Just to clarify, here is what the > patch does - > > iptables -w 2.1 > > 0.01s sleep, retry > 0.02s sleep, retry > 0.03s sleep, retry > ... > 2.1s sleep, exit > > Note that it sleeps for 10ms and retries rather than sleeping for a single > iteration for 2.1s seconds and then retrying. > > Let me know if there are any concerns with this. But this is changing the existing behaviour, right? My understanding is that -w indicates the net wait time for each try. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html