|
@@ -404,7 +404,7 @@ static void ip_vs_lblcr_flush(struct ip_vs_service *svc)
|
|
|
struct hlist_node *next;
|
|
|
|
|
|
spin_lock_bh(&svc->sched_lock);
|
|
|
- tbl->dead = 1;
|
|
|
+ tbl->dead = true;
|
|
|
for (i = 0; i < IP_VS_LBLCR_TAB_SIZE; i++) {
|
|
|
hlist_for_each_entry_safe(en, next, &tbl->bucket[i], list) {
|
|
|
ip_vs_lblcr_free(en);
|
|
@@ -532,7 +532,7 @@ static int ip_vs_lblcr_init_svc(struct ip_vs_service *svc)
|
|
|
tbl->max_size = IP_VS_LBLCR_TAB_SIZE*16;
|
|
|
tbl->rover = 0;
|
|
|
tbl->counter = 1;
|
|
|
- tbl->dead = 0;
|
|
|
+ tbl->dead = false;
|
|
|
tbl->svc = svc;
|
|
|
|
|
|
/*
|