summaryrefslogtreecommitdiffstats
path: root/include/net/dn_route.h
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/net/dn_route.h
parent13a43d94ab026c423dc8902170ef27c2bd36aa87 (diff)
downloadop-kernel-dev-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.zip
op-kernel-dev-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.tar.gz
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 c507e05..4f7d6a1 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;
OpenPOWER on IntegriCloud