Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44290
b: refs/heads/master
c: 89eaeb0
h: refs/heads/master
v: v3
  • Loading branch information
Simon Horman authored and David S. Miller committed Dec 11, 2006
1 parent 5b5bbab commit 64a3a49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f654c854d1d4e0aca5389ace541647237eb7f753
refs/heads/master: 89eaeb09ba01632511f69ce8e14c8d2abd2dbe9e
8 changes: 4 additions & 4 deletions trunk/net/ipv4/ipvs/ip_vs_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static void sync_master_loop(void)
if (stop_master_sync)
break;

ssleep(1);
msleep_interruptible(1000);
}

/* clean up the sync_buff queue */
Expand Down Expand Up @@ -714,7 +714,7 @@ static void sync_backup_loop(void)
if (stop_backup_sync)
break;

ssleep(1);
msleep_interruptible(1000);
}

/* release the sending multicast socket */
Expand Down Expand Up @@ -826,7 +826,7 @@ static int fork_sync_thread(void *startup)
if ((pid = kernel_thread(sync_thread, startup, 0)) < 0) {
IP_VS_ERR("could not create sync_thread due to %d... "
"retrying.\n", pid);
ssleep(1);
msleep_interruptible(1000);
goto repeat;
}

Expand Down Expand Up @@ -860,7 +860,7 @@ int start_sync_thread(int state, char *mcast_ifn, __u8 syncid)
if ((pid = kernel_thread(fork_sync_thread, &startup, 0)) < 0) {
IP_VS_ERR("could not create fork_sync_thread due to %d... "
"retrying.\n", pid);
ssleep(1);
msleep_interruptible(1000);
goto repeat;
}

Expand Down

0 comments on commit 64a3a49

Please sign in to comment.