linux-sg2042/net/decnet
Phil Sutter f53de1e9a4 net: ipv6: use common fib_default_rule_pref
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.

Since then all users of the default_pref field have been converted to
assign the generic function fib_default_rule_pref(), fib_nl_newrule()
may just use it directly instead. Therefore get rid of the function
pointer altogether and make fib_default_rule_pref() static, as it's not
used outside fib_rules.c anymore.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-09 14:19:50 -07:00
..
netfilter netfilter: Make nf_hookfn use nf_hook_state. 2015-04-04 12:31:38 -04:00
Kconfig net/decnet: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:34 -08:00
Makefile
README
TODO
af_decnet.c net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
dn_dev.c netlink: make nlmsg_end() and genlmsg_end() void 2015-01-18 01:03:45 -05:00
dn_fib.c net: tcp: add RTAX_CC_ALGO fib handling 2015-01-05 22:55:24 -05:00
dn_neigh.c netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
dn_nsp_in.c netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
dn_nsp_out.c decnet: use correct RCU API to deref sk_dst_cache field 2013-01-28 00:15:27 -05:00
dn_route.c netfilter: Pass socket pointer down through okfn(). 2015-04-07 15:25:55 -04:00
dn_rules.c net: ipv6: use common fib_default_rule_pref 2015-09-09 14:19:50 -07:00
dn_table.c netlink: make nlmsg_end() and genlmsg_end() void 2015-01-18 01:03:45 -05:00
dn_timer.c decnet: Use time_after_eq 2014-08-22 12:23:11 -07:00
sysctl_net_decnet.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00

README

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>