summaryrefslogtreecommitdiff
path: root/include/net/dn_route.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-03 09:22:18 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-05 12:12:14 +0400
commitfccd7d5c77ff61d5283e7ce8242791d5f00dcc17 (patch)
tree7cd9ae429adbe66c301ca877b9e91bc5626528b0 /include/net/dn_route.h
parent13a43d94ab026c423dc8902170ef27c2bd36aa87 (diff)
downloadlinux-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.tar.xz
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/net/dn_route.h')
-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;