git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Bluetooth] Remove global conf_mtu variable from L2CAP
[pandora-kernel.git]
/
net
/
ipv4
/
inet_connection_sock.c
diff --git
a/net/ipv4/inet_connection_sock.c
b/net/ipv4/inet_connection_sock.c
index
3cef128
..
8fb6ca2
100644
(file)
--- a/
net/ipv4/inet_connection_sock.c
+++ b/
net/ipv4/inet_connection_sock.c
@@
-93,7
+93,7
@@
int inet_csk_get_port(struct inet_hashinfo *hashinfo,
int remaining, rover, low, high;
inet_get_local_port_range(&low, &high);
- remaining =
high - low
;
+ remaining =
(high - low) + 1
;
rover = net_random() % remaining + low;
do {