diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-03 09:22:18 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 12:12:14 +0400 |
commit | fccd7d5c77ff61d5283e7ce8242791d5f00dcc17 (patch) | |
tree | 7cd9ae429adbe66c301ca877b9e91bc5626528b0 /net/decnet/dn_neigh.c | |
parent | 13a43d94ab026c423dc8902170ef27c2bd36aa87 (diff) | |
download | linux-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 'net/decnet/dn_neigh.c')
-rw-r--r-- | net/decnet/dn_neigh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c index 8e9a35b17df4..3aede1b459fd 100644 --- a/net/decnet/dn_neigh.c +++ b/net/decnet/dn_neigh.c @@ -202,7 +202,7 @@ static int dn_neigh_output_packet(struct sk_buff *skb) { struct dst_entry *dst = skb_dst(skb); struct dn_route *rt = (struct dn_route *)dst; - struct neighbour *neigh = dst_get_neighbour_noref(dst); + struct neighbour *neigh = rt->n; struct net_device *dev = neigh->dev; char mac_addr[ETH_ALEN]; unsigned int seq; |