>From 10fbe983cbda98e89755600070f644e9375a1998 Mon Sep 17 00:00:00 2001 From: Stefan Priebe Date: Mon, 12 Dec 2011 13:16:07 +0100 Subject: [PATCH 07/13] added mising dst_set_neighbour --- net/ipv4/route.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 8f39909..ab0cc63 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -108,6 +108,7 @@ #ifdef CONFIG_SYSCTL #include #endif +#include #include #define RT_FL_TOS(oldflp4) \ @@ -1027,7 +1028,7 @@ static int rt_bind_neighbour(struct rtable *rt) n = ipv4_neigh_lookup(tbl, dev, nexthop); if (IS_ERR(n)) return PTR_ERR(n); - rt->dst.neighbour = n; + dst_set_neighbour(&rt->dst, n); return 0; } -- 1.7.1