|
@@ -896,12 +896,13 @@ ip_vs_new_dest(struct ip_vs_service *svc, struct ip_vs_dest_user_kern *udest,
|
|
|
{
|
|
{
|
|
|
struct ip_vs_dest *dest;
|
|
struct ip_vs_dest *dest;
|
|
|
unsigned int atype, i;
|
|
unsigned int atype, i;
|
|
|
- int ret = 0;
|
|
|
|
|
|
|
|
|
|
EnterFunction(2);
|
|
EnterFunction(2);
|
|
|
|
|
|
|
|
#ifdef CONFIG_IP_VS_IPV6
|
|
#ifdef CONFIG_IP_VS_IPV6
|
|
|
if (udest->af == AF_INET6) {
|
|
if (udest->af == AF_INET6) {
|
|
|
|
|
+ int ret;
|
|
|
|
|
+
|
|
|
atype = ipv6_addr_type(&udest->addr.in6);
|
|
atype = ipv6_addr_type(&udest->addr.in6);
|
|
|
if ((!(atype & IPV6_ADDR_UNICAST) ||
|
|
if ((!(atype & IPV6_ADDR_UNICAST) ||
|
|
|
atype & IPV6_ADDR_LINKLOCAL) &&
|
|
atype & IPV6_ADDR_LINKLOCAL) &&
|