Jamal Hadi Salim <[EMAIL PROTECTED]> writes: > Well, the arguement goes both ways actually ;-> > By adding those routes the kernel _is_ making policy decisions. > In the case of standard dial on demand (any that i have seen on linux at > least), they typically have something along the lines of scripts that > get invoked during different phases of the link negotiation.
Adding "not connected" bit flag to netdev solves this problem: dial-up devices would be marked as running (-> direct route present - look, they _are_ really running). Could be exported to userspace as IFF_DORMANT_3LUP or whatever. No races either. -- Krzysztof Halasa - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html