]> err.no Git - linux-2.6/commit
ipvs: Use schedule_timeout_interruptible() instead of msleep_interruptible()
authorSven Wegener <sven.wegener@stealer.net>
Wed, 16 Jul 2008 11:14:03 +0000 (11:14 +0000)
committerSven Wegener <sven.wegener@stealer.net>
Wed, 16 Jul 2008 22:33:20 +0000 (22:33 +0000)
commit375c6bbabf210ded3151481ca1ac7f730903512b
treee5f092925e77fe7dec4b198eea6588944219c15f
parentba6fd85021dec97d58373d9aea4bea8fc24258be
ipvs: Use schedule_timeout_interruptible() instead of msleep_interruptible()

So that kthread_stop() can wake up the thread and we don't have to wait one
second in the worst case for the daemon to actually stop.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Acked-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_sync.c