[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070326.173822.78710353.davem@davemloft.net>
Date: Mon, 26 Mar 2007 17:38:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/3] [NET] fib_rules: Mark rules detached from the
device
From: Thomas Graf <tgraf@...g.ch>
Date: Tue, 27 Mar 2007 01:54:52 +0200
> Rules which match against device names in their selector can
> remain while the device itself disappears, in fact the device
> doesn't have to present when the rule is added in the first
> place. The device name is resolved by trying when the rule is
> added and later by listening to NETDEV_REGISTER/UNREGISTER
> notifications.
>
> This patch adds the flag FIB_RULE_DEV_DETACHED which is set
> towards userspace when a rule contains a device match which
> is unresolved at the moment. This eases spotting the reason
> why certain rules seem not to function properly.
>
> Signed-off-by: Thomas Graf <tgraf@...g.ch>
Yep, this should make failure diagnosis easier.
Applied to net-2.6.22, thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists