summaryrefslogtreecommitdiffstats
path: root/net/decnet/dn_neigh.c
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 /net/decnet/dn_neigh.c
parent13a43d94ab026c423dc8902170ef27c2bd36aa87 (diff)
downloadblackbird-op-linux-fccd7d5c77ff61d5283e7ce8242791d5f00dcc17.tar.gz
blackbird-op-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.c2
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;
OpenPOWER on IntegriCloud