projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/genalloc.c: export symbol addr_in_gen_pool
[linux-2.6-microblaze.git]
/
net
/
ipv6
/
af_inet6.c
diff --git
a/net/ipv6/af_inet6.c
b/net/ipv6/af_inet6.c
index
ef37e05
..
60e2ff9
100644
(file)
--- a/
net/ipv6/af_inet6.c
+++ b/
net/ipv6/af_inet6.c
@@
-292,7
+292,7
@@
static int __inet6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len,
return -EINVAL;
snum = ntohs(addr->sin6_port);
- if (snum &&
snum < inet_prot_sock(net
) &&
+ if (snum &&
inet_port_requires_bind_service(net, snum
) &&
!ns_capable(net->user_ns, CAP_NET_BIND_SERVICE))
return -EACCES;