aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-26 15:16:46 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-26 15:16:46 -0400
commit2bd93d7af1581d40e3c4b25242472661cb7c637a (patch)
tree43c638422d20857339d8d908d6b65ebb8045edc0 /net/ipv4
parent64cad2ade1e6f890531a58318ca9ee013f92ef2f (diff)
parent0972ddb2373d5e127aabdcabd8305eff0242cd0b (diff)
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')
-rw-r--r--net/ipv4/route.c7
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)
2692{ 2692{
2693} 2693}
2694 2694
2695static u32 *ipv4_rt_blackhole_cow_metrics(struct dst_entry *dst,
2696 unsigned long old)
2697{
2698 return NULL;
2699}
2700
2695static struct dst_ops ipv4_dst_blackhole_ops = { 2701static struct dst_ops ipv4_dst_blackhole_ops = {
2696 .family = AF_INET, 2702 .family = AF_INET,
2697 .protocol = cpu_to_be16(ETH_P_IP), 2703 .protocol = cpu_to_be16(ETH_P_IP),
@@ -2700,6 +2706,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
2700 .default_mtu = ipv4_blackhole_default_mtu, 2706 .default_mtu = ipv4_blackhole_default_mtu,
2701 .default_advmss = ipv4_default_advmss, 2707 .default_advmss = ipv4_default_advmss,
2702 .update_pmtu = ipv4_rt_blackhole_update_pmtu, 2708 .update_pmtu = ipv4_rt_blackhole_update_pmtu,
2709 .cow_metrics = ipv4_rt_blackhole_cow_metrics,
2703}; 2710};
2704 2711
2705struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_orig) 2712struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_orig)