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>
This commit is contained in:
David S. Miller
2012-07-02 22:22:18 -07:00
parent 13a43d94ab
commit fccd7d5c77
3 changed files with 32 additions and 8 deletions

View File

@@ -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;