git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
net
/
ipv4
/
ipvs
/
ip_vs_lblc.c
diff --git
a/net/ipv4/ipvs/ip_vs_lblc.c
b/net/ipv4/ipvs/ip_vs_lblc.c
index
bce393e
..
c035838
100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_lblc.c
+++ b/
net/ipv4/ipvs/ip_vs_lblc.c
@@
-409,7
+409,7
@@
static int ip_vs_lblc_init_svc(struct ip_vs_service *svc)
for (i=0; i<IP_VS_LBLC_TAB_SIZE; i++) {
INIT_LIST_HEAD(&tbl->bucket[i]);
}
-
tbl->lock = RW_LOCK_UNLOCKED
;
+
rwlock_init(&tbl->lock)
;
tbl->max_size = IP_VS_LBLC_TAB_SIZE*16;
tbl->rover = 0;
tbl->counter = 1;