]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net: fib_rules: consolidate IPv4 and DECnet ->default_pref() functions.
authorPatrick McHardy <kaber@trash.net>
Tue, 13 Apr 2010 05:03:15 +0000 (05:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 21:49:30 +0000 (14:49 -0700)
commitd8a566beaa75c6ad5e38cdccf0ea5294323e7866
tree56fc11f0806e9e869e65c44a697c896add4b78f6
parent561155110307ad304226a23272244398fa46cbae
net: fib_rules: consolidate IPv4 and DECnet ->default_pref() functions.

Both functions are equivalent, consolidate them since a following patch
needs a third implementation for multicast routing.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/fib_rules.h
net/core/fib_rules.c
net/decnet/dn_rules.c
net/ipv4/fib_rules.c