Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2928297 authored by David S. Miller's avatar David S. Miller
Browse files

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

parent fec8292d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);