[olsr-dev] neighbors' olsrd dies when an interfaces goes down
Tue Oct 17 22:02:36 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
> This is caused because olsrd isn't exclusively responsible for deleting
> kernel routes. There is a case where the kernel itself will
> automatically deletes routes from interfaces which go down.
Havn't looked at that part of the source code, but if you use a netlink
socket to add/delete routes, you will get messages for every route
change. If a interface goes down, netlink messages for the routes which
the kernel deletes are sent and olsr can react as needed.
I think netlink is also faster then ioctl calls, and will perfrom better
due the async nature of this interface.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Olsr-dev