<div>Hi</div><div></div><div>i did also noticed behaviour of olsrd stable branch, which would match Peters findings quite well,..<br></div><div></div><div>i currently reboot one of my testrouters quite often,.. and sometimes "all" other r4 olsrd permanently miss their routes, </div>
<div></div><div>e.g. <a href="http://193.238.157.78/~markus/connstat/view.php?host=78.41.113.164">http://193.238.157.78/~markus/connstat/view.php?host=78.41.113.164</a></div><div>which is infact powered up "all" the time, but the last reboot of (multiple ones) at 3h in the morning "permanently" got him unreachable,..</div>
<div></div><div>@peter are you using tip-tip or stable branch?</div><div> </div><div>Markus</div><div></div><div>p.s. imho we need definitely an 0.5.6-r5 )-;</div><div><br></div><div class="gmail_quote">On Thu, May 7, 2009 at 9:49 AM, Peter Tarjan <span dir="ltr"><<a href="mailto:peter.tarjan@birdtelecom.hu">peter.tarjan@birdtelecom.hu</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>
I think there is something wrong with the MID handling.<br>
If a host with multiple interfaces becomes unreachable, after a while<br>
all of its rt_paths are deleted (void olsr_delete_rt_path(struct<br>
rt_path *rtp) called).<br>
Unfortunately the MID entry is not removed from MID table.<br>
So when the mentioned host is again available, its MID's route is not<br>
reinserted to the routing table, because only the presence of the MID<br>
entry is checked (by mid_lookup_main_addr(&tmp_adr->alias_addr)). If<br>
there is an existing entry for this MID, insert_mid_alias is not<br>
called, nor insert_mid_tuple which would call<br>
olsr_insert_routing_table.<br>
<br>
I see two approach to fix this problem:<br>
- if MID entry exists, the code should check the data structures for<br>
routing, too<br>
- when removing a routing entry belonging to MID alias, also removing<br>
the MID entry.<br>
<br>
I'd suppose the first one, because at HNA handling something similar happens.<br>
<br>
--<br>
Peter<br>
<font color="#888888"><br>
--<br>
Olsr-dev mailing list<br>
<a href="mailto:Olsr-dev@lists.olsr.org">Olsr-dev@lists.olsr.org</a><br>
<a href="http://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-dev</a><br>
<br>
</font></blockquote></div><br><div><br></div>