diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-03 07:22:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 10:12:14 +0200 |
commit | fccd7d5c77ff61d5283e7ce8242791d5f00dcc17 (patch) | |
tree | 7cd9ae429adbe66c301ca877b9e91bc5626528b0 /net/decnet/dn_neigh.c | |
parent | neigh: Convert over to dst_neigh_lookup_skb(). (diff) | |
download | linux-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.tar.xz linux-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 '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; |