diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2008-07-16 11:13:50 +0000 |
---|---|---|
committer | Sven Wegener <sven.wegener@stealer.net> | 2008-07-16 22:33:20 +0000 |
commit | 998e7a76804b7a273a0460c2cdd5a51fa9856717 (patch) | |
tree | 42c5617f9fc180457e7f6f98326edf489a671086 /net/ipv4/fib_semantics.c | |
parent | e6dd731c75cba986a485924f908e6e05b088ea9e (diff) |
ipvs: Use kthread_run() instead of doing a double-fork via kernel_thread()
This also moves the setup code out of the daemons, so that we're able to
return proper error codes to user space. The current code will return success
to user space when the daemon is started with an invald mcast interface. With
these changes we get an appropriate "No such device" error.
We longer need our own completion to be sure the daemons are actually running,
because they no longer contain code that can fail and kthread_run() takes care
of the rest.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Acked-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions