Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157025
b: refs/heads/master
c: ca6982b
h: refs/heads/master
i:
  157023: bd611e8
v: v3
  • Loading branch information
Bruno Prémont authored and David S. Miller committed Aug 24, 2009
1 parent 483ccc4 commit abda6f0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6ff9c2e7fa8ca63a575792534b63c5092099c286
refs/heads/master: ca6982b858e1d08010c1d29d8e8255b2ac2ad70a
4 changes: 3 additions & 1 deletion trunk/net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,10 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
v4addr != htonl(INADDR_ANY) &&
chk_addr_ret != RTN_LOCAL &&
chk_addr_ret != RTN_MULTICAST &&
chk_addr_ret != RTN_BROADCAST)
chk_addr_ret != RTN_BROADCAST) {
err = -EADDRNOTAVAIL;
goto out;
}
} else {
if (addr_type != IPV6_ADDR_ANY) {
struct net_device *dev = NULL;
Expand Down

0 comments on commit abda6f0

Please sign in to comment.