|
@@ -444,8 +444,8 @@ static int addr6_resolve(struct sockaddr_in6 *src_in,
|
|
|
fl6.saddr = src_in->sin6_addr;
|
|
fl6.saddr = src_in->sin6_addr;
|
|
|
fl6.flowi6_oif = addr->bound_dev_if;
|
|
fl6.flowi6_oif = addr->bound_dev_if;
|
|
|
|
|
|
|
|
- dst = ip6_route_output(addr->net, NULL, &fl6);
|
|
|
|
|
- if ((ret = dst->error))
|
|
|
|
|
|
|
+ ret = ipv6_stub->ipv6_dst_lookup(addr->net, NULL, &dst, &fl6);
|
|
|
|
|
+ if (ret < 0)
|
|
|
goto put;
|
|
goto put;
|
|
|
|
|
|
|
|
rt = (struct rt6_info *)dst;
|
|
rt = (struct rt6_info *)dst;
|