aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-02 22:22:18 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-05 01:12:14 -0700
commitfccd7d5c77ff61d5283e7ce8242791d5f00dcc17 (patch)
tree7cd9ae429adbe66c301ca877b9e91bc5626528b0 /include
parentneigh: Convert over to dst_neigh_lookup_skb(). (diff)
downloadlinux-dev-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.tar.xz
linux-dev-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.zip
decnet: Use neighbours privately in dn_route struct.
This allows an easy conversion away from dst_get_neighbour*(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/dn_route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/dn_route.h b/include/net/dn_route.h
index c507e05d172f..4f7d6a182381 100644
--- a/include/net/dn_route.h
+++ b/include/net/dn_route.h
@@ -67,6 +67,8 @@ extern void dn_rt_cache_flush(int delay);
struct dn_route {
struct dst_entry dst;
+ struct neighbour *n;
+
struct flowidn fld;
__le16 rt_saddr;