git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus2' of git://git.kernel.dk/linux-2.6-block
[safe/jmp/linux-2.6]
/
net
/
ipv4
/
inet_hashtables.c
diff --git
a/net/ipv4/inet_hashtables.c
b/net/ipv4/inet_hashtables.c
index
2b79377
..
d3e160a
100644
(file)
--- a/
net/ipv4/inet_hashtables.c
+++ b/
net/ipv4/inet_hashtables.c
@@
-456,6
+456,8
@@
int __inet_hash_connect(struct inet_timewait_death_row *death_row,
local_bh_disable();
for (i = 1; i <= remaining; i++) {
port = low + (i + offset) % remaining;
+ if (inet_is_reserved_local_port(port))
+ continue;
head = &hinfo->bhash[inet_bhashfn(net, port,
hinfo->bhash_size)];
spin_lock(&head->lock);