Loading net/ipv6/route.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -1091,6 +1091,7 @@ struct dst_entry *icmp6_dst_alloc(struct net_device *dev, else { else { neigh = ip6_neigh_lookup(&rt->dst, &fl6->daddr); neigh = ip6_neigh_lookup(&rt->dst, &fl6->daddr); if (IS_ERR(neigh)) { if (IS_ERR(neigh)) { in6_dev_put(idev); dst_free(&rt->dst); dst_free(&rt->dst); return ERR_CAST(neigh); return ERR_CAST(neigh); } } Loading Loading
net/ipv6/route.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -1091,6 +1091,7 @@ struct dst_entry *icmp6_dst_alloc(struct net_device *dev, else { else { neigh = ip6_neigh_lookup(&rt->dst, &fl6->daddr); neigh = ip6_neigh_lookup(&rt->dst, &fl6->daddr); if (IS_ERR(neigh)) { if (IS_ERR(neigh)) { in6_dev_put(idev); dst_free(&rt->dst); dst_free(&rt->dst); return ERR_CAST(neigh); return ERR_CAST(neigh); } } Loading