Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215493
b: refs/heads/master
c: 0a513f6
h: refs/heads/master
i:
  215491: 3138645
v: v3
  • Loading branch information
Balazs Scheidler authored and Patrick McHardy committed Oct 21, 2010
1 parent 5db222f commit a8de8ec
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: 6c46862280c5f55eda7750391bc65cd7e08c7535
refs/heads/master: 0a513f6af962525ed4b3395f8c8d5daae8682aa9
3 changes: 2 additions & 1 deletion trunk/net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
*/
v4addr = LOOPBACK4_IPV6;
if (!(addr_type & IPV6_ADDR_MULTICAST)) {
if (!ipv6_chk_addr(net, &addr->sin6_addr,
if (!inet->transparent &&
!ipv6_chk_addr(net, &addr->sin6_addr,
dev, 0)) {
err = -EADDRNOTAVAIL;
goto out_unlock;
Expand Down

0 comments on commit a8de8ec

Please sign in to comment.