[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150902.113439.1914221451599696711.davem@davemloft.net>
Date: Wed, 02 Sep 2015 11:34:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: phil@....cc
Cc: netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [net-next PATCH] net: ipv6: use common fib_default_rule_pref
From: Phil Sutter <phil@....cc>
Date: Wed, 2 Sep 2015 15:03:12 +0200
> This switches IPv6 policy routing to use the shared
> fib_default_rule_pref() function of IPv4 and DECnet. It is also used in
> multicast routing for IPv4 as well as IPv6.
>
> The motivation for this patch is a complaint about iproute2 behaving
> inconsistent between IPv4 and IPv6 when adding policy rules: Formerly,
> IPv6 rules were assigned a fixed priority of 0x3FFF whereas for IPv4 the
> assigned priority value was decreased with each rule added.
>
> Signed-off-by: Phil Sutter <phil@....cc>
All ->default_pref() methods are therefore going to be set to the
default, so just kill off the method entirely and call
fib_default_rule_pref() directly.
--
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