提交 a2928297 编写于 作者: D David S. Miller

ipv6: Use calculated 'neigh' instead of re-evaluating dst->neighbour

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fec8292d
......@@ -141,7 +141,7 @@ static int ip6_finish_output2(struct sk_buff *skb)
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册