|
@@ -104,10 +104,16 @@ static void fake_update_pmtu(struct dst_entry *dst, u32 mtu)
|
|
|
{
|
|
{
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old)
|
|
|
|
|
+{
|
|
|
|
|
+ return NULL;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
static struct dst_ops fake_dst_ops = {
|
|
static struct dst_ops fake_dst_ops = {
|
|
|
.family = AF_INET,
|
|
.family = AF_INET,
|
|
|
.protocol = cpu_to_be16(ETH_P_IP),
|
|
.protocol = cpu_to_be16(ETH_P_IP),
|
|
|
.update_pmtu = fake_update_pmtu,
|
|
.update_pmtu = fake_update_pmtu,
|
|
|
|
|
+ .cow_metrics = fake_cow_metrics,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
/*
|