netdev
[Top] [All Lists]

Re: static routes and dead gateway detection

To: ja@xxxxxx (Julian Anastasov)
Subject: Re: static routes and dead gateway detection
From: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 18:57:33 +0400 (MSD)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.10.10107252031330.13692-100000@l> from "Julian Anastasov" at Jul 25, 1 08:52:31 pm
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> - fib_sync_down not to set DEAD in fib_flags on dev down for
> RTPROT_STATIC (change required)

Yes.


> - Do we need changes in fn_hash_select_default? check for all nh_flags&DEAD ?

Seems, yes. Grrr... Now it is not checked at all! Bug when the route
happens to be multipath. Ha! No, this place is unreachable, being
blocking in route.c. Not a bug, but looks ugly. 

Heh... The first thing which we need is to fix the bug with holding
references to dead devices. All the rest is easy and have to be carefully
audited anyway.

Alexey


<Prev in Thread] Current Thread [Next in Thread>