<br><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 2:54 PM, Mitar <span dir="ltr"><<a href="mailto:mmitar@gmail.com">mmitar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi!<br>
<br>
On Wed, Nov 10, 2010 at 11:07 AM, Markus Kittenberger<br>
<div class="im"><<a href="mailto:Markus.Kittenberger@gmx.at">Markus.Kittenberger@gmx.at</a>> wrote:<br>
</div><div class="im">> Yes it does so ,.. (definitely on bsd/mac and windows, and partly on linux)<br>
<br>
</div>You do retry on EINTR/EAGAIN?<br></blockquote><div> </div><div>I do not *G </div><div><br></div><div>hmm i don`t really know the bsd routing code,.. </div><div><br>but the os-unspecific routing code has no support, for try again,..</div>
<div><br></div><div>as it does not even look at the return code of olsr_add_kernel_route(rt); = olsr_ioctl_add_route(rt)</div><div><br></div><div>so the os-specific code gets only one chance to do its job,.. (it might immediately retry (or do whatever) before it returns, but that`s it,..)</div>
<div><br></div><div>one reason for this ist that it would get a bit complicated, to handle failure on this level<br>as there are dependencies between route changes (e.g. routes dependencies on already existing singlehop-route to their gateway)<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
We were getting "resource temporarily unavailable" with one iptables<br>
daemon (captive portal) on this small boxes. And it solved all<br>
problems we had. ;-)<br></blockquote><div>but here we got "already exists" error ,..</div><div><br></div><div>Markus</div></div>