diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-26 21:16:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-26 21:16:46 +0200 |
commit | 2bd93d7af1581d40e3c4b25242472661cb7c637a (patch) | |
tree | 43c638422d20857339d8d908d6b65ebb8045edc0 /net/ipv4/route.c | |
parent | tg3: Update version to 3.118 (diff) | |
parent | net: provide cow_metrics() methods to blackhole dst_ops (diff) | |
download | linux-2bd93d7af1581d40e3c4b25242472661cb7c637a.tar.xz linux-2bd93d7af1581d40e3c4b25242472661cb7c637a.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Resolved logic conflicts causing a build failure due to
drivers/net/r8169.c changes using a patch from Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index f4b7f806afd8..d63f780c6941 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2692,6 +2692,12 @@ static void ipv4_rt_blackhole_update_pmtu(struct dst_entry *dst, u32 mtu) { } +static u32 *ipv4_rt_blackhole_cow_metrics(struct dst_entry *dst, + unsigned long old) +{ + return NULL; +} + static struct dst_ops ipv4_dst_blackhole_ops = { .family = AF_INET, .protocol = cpu_to_be16(ETH_P_IP), @@ -2700,6 +2706,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = { .default_mtu = ipv4_blackhole_default_mtu, .default_advmss = ipv4_default_advmss, .update_pmtu = ipv4_rt_blackhole_update_pmtu, + .cow_metrics = ipv4_rt_blackhole_cow_metrics, }; struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_orig) |