]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/route.c
tcp: fix TSO FACK loss marking in tcp_mark_head_lost
[net-next-2.6.git] / net / ipv4 / route.c
index 3f56b6e6c6aab583d65902e7190bbf1a6eaa60b6..6298f75d5e93c4ad4e838a1982143207e7d3f855 100644 (file)
@@ -2738,6 +2738,11 @@ slow_output:
 }
 EXPORT_SYMBOL_GPL(__ip_route_output_key);
 
+static struct dst_entry *ipv4_blackhole_dst_check(struct dst_entry *dst, u32 cookie)
+{
+       return NULL;
+}
+
 static void ipv4_rt_blackhole_update_pmtu(struct dst_entry *dst, u32 mtu)
 {
 }
@@ -2746,7 +2751,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
        .family                 =       AF_INET,
        .protocol               =       cpu_to_be16(ETH_P_IP),
        .destroy                =       ipv4_dst_destroy,
-       .check                  =       ipv4_dst_check,
+       .check                  =       ipv4_blackhole_dst_check,
        .update_pmtu            =       ipv4_rt_blackhole_update_pmtu,
        .entries                =       ATOMIC_INIT(0),
 };