[Olsr-dev] [PATCH v1 0/9] Also consider link state

Henning Rogge (spam-protected)
Thu Feb 11 13:15:06 CET 2016


On Thu, Feb 11, 2016 at 1:02 PM, Bastian Bittorf <(spam-protected)> wrote:
> * Ferry Huberts <(spam-protected)> [11.02.2016 12:50]:
>> By adding this, olsrd immediately sees the interface going down and
>> sgw can immediately choose a new egress interface.
>
> ok, this makes it totally valid.
>
> i'am ok with the patchset if we make it default off and
> add an config option for that...
>
> i'am not sure if sucking in 'ethtool.h' is really
> needed. maybe it is enough to ask e.g.  '/sys/class/net/eth0.2/operstate'?
> is it polled or does ethtool.h gives you an event?

The ethtool thing is my fault... I could not remember why we removed
the IFF_RUNNING detection... so I suggested trying something
different.

But if the ethtool output is broken TOO (on the routers), it will not help.

:(

Henning



More information about the Olsr-dev mailing list