Re: [net-next PATCH v2] net: ipv6: use common fib_default_rule_pref

2015-09-09 Thread Phil Sutter
On Tue, Sep 08, 2015 at 10:38:09PM -0700, David Miller wrote: > From: David Miller > Date: Tue, 08 Sep 2015 22:37:05 -0700 (PDT) > > > Applied, thanks. > > Actually, reverted, this doesn't even compile. > > net/core/fib_rules.c:47:12: error: static declaration of > ‘fib_default_rule_pref’ foll

Re: [net-next PATCH v2] net: ipv6: use common fib_default_rule_pref

2015-09-08 Thread David Miller
From: David Miller Date: Tue, 08 Sep 2015 22:37:05 -0700 (PDT) > Applied, thanks. Actually, reverted, this doesn't even compile. net/core/fib_rules.c:47:12: error: static declaration of ‘fib_default_rule_pref’ follows non-static declaration static u32 fib_default_rule_pref(struct fib_rules_op

Re: [net-next PATCH v2] net: ipv6: use common fib_default_rule_pref

2015-09-08 Thread David Miller
From: Phil Sutter Date: Sun, 6 Sep 2015 12:20:58 +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 be

[net-next PATCH v2] net: ipv6: use common fib_default_rule_pref

2015-09-06 Thread Phil Sutter
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: