diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-18 06:09:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-18 06:11:35 (GMT) |
commit | 69cce1d1404968f78b177a0314f5822d5afdbbfb (patch) | |
tree | 26223264fd69ea8078d0013fd5a76eb7aeb04c12 /net/decnet/dn_neigh.c | |
parent | 9cbb7ecbcff85077bb12301aaf4c9b5a56c5993d (diff) | |
download | linux-69cce1d1404968f78b177a0314f5822d5afdbbfb.tar.xz |
net: Abstract dst->neighbour accesses behind helpers.
dst_{get,set}_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 5d61e89..0dc3fe6 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->neighbour; + struct neighbour *neigh = dst_get_neighbour(dst); struct net_device *dev = neigh->dev; char mac_addr[ETH_ALEN]; |