[olsr-dev] neighbors' olsrd dies when an interfaces goes down
Daniel Poelzleithner
(spam-protected)
Tue Oct 17 22:02:36 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Acinonyx wrote:
> 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.
kindly regards
daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFNTbcy/mkIQp7AD0RAixOAJ0ezuusxrOQ/vyFz38S+EP4sUVAeQCfSas/
aVymkLB2lRi1RQxCvIOlUhM=
=pmF5
-----END PGP SIGNATURE-----
More information about the Olsr-dev
mailing list