commit | a29282972cc9b80126d4e4d68251c6712bdad051 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Jul 16 14:30:47 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 16 14:30:47 2011 -0700 |
tree | 75abc3d6ae44b7c88e3452df2aa810adecd41cdc | |
parent | fec8292d9cb662274b583c5c69fdfa6932e593a5 [diff] |
ipv6: Use calculated 'neigh' instead of re-evaluating dst->neighbour Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index f0f144c..36362e9 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c
@@ -141,7 +141,7 @@ if (hh->hh_len) return neigh_hh_output(hh, skb); else - return dst->neighbour->output(skb); + return neigh->output(skb); } IP6_INC_STATS_BH(dev_net(dst->dev), ip6_dst_idev(dst), IPSTATS_MIB_OUTNOROUTES);