diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-18 02:09:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-18 02:11:35 -0400 |
commit | 69cce1d1404968f78b177a0314f5822d5afdbbfb (patch) | |
tree | 26223264fd69ea8078d0013fd5a76eb7aeb04c12 /net/bridge | |
parent | 9cbb7ecbcff85077bb12301aaf4c9b5a56c5993d (diff) |
net: Abstract dst->neighbour accesses behind helpers.
dst_{get,set}_neighbour()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_netfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 1fe43fdf9973..b1a5f9777b7e 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c | |||
@@ -350,7 +350,7 @@ static int br_nf_pre_routing_finish_bridge(struct sk_buff *skb) | |||
350 | if (!skb->dev) | 350 | if (!skb->dev) |
351 | goto free_skb; | 351 | goto free_skb; |
352 | dst = skb_dst(skb); | 352 | dst = skb_dst(skb); |
353 | neigh = dst->neighbour; | 353 | neigh = dst_get_neighbour(dst); |
354 | if (neigh->hh.hh_len) { | 354 | if (neigh->hh.hh_len) { |
355 | neigh_hh_bridge(&neigh->hh, skb); | 355 | neigh_hh_bridge(&neigh->hh, skb); |
356 | skb->dev = nf_bridge->physindev; | 356 | skb->dev = nf_bridge->physindev; |