Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111586
b: refs/heads/master
c: 3bfb92f
h: refs/heads/master
v: v3
  • Loading branch information
Sven Wegener authored and Simon Horman committed Sep 7, 2008
1 parent 72056e0 commit f954f8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77eb851630bba8ea9962a1b2f01b23bd5d57c58e
refs/heads/master: 3bfb92f4073aa829f8e67e459d54c79306ddbd73
3 changes: 2 additions & 1 deletion trunk/net/ipv4/ipvs/ip_vs_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,8 @@ ip_vs_new_dest(struct ip_vs_service *svc, struct ip_vs_dest_user_kern *udest,
#ifdef CONFIG_IP_VS_IPV6
if (svc->af == AF_INET6) {
atype = ipv6_addr_type(&udest->addr.in6);
if (!(atype & IPV6_ADDR_UNICAST) &&
if ((!(atype & IPV6_ADDR_UNICAST) ||
atype & IPV6_ADDR_LINKLOCAL) &&
!__ip_vs_addr_is_local_v6(&udest->addr.in6))
return -EINVAL;
} else
Expand Down

0 comments on commit f954f8b

Please sign in to comment.