From: Neil Horman Date: Tue, 19 Jun 2007 05:33:20 +0000 (-0700) Subject: [IPVS]: Fix state variable on failure to start ipvs threads X-Git-Tag: v2.6.22-rc6~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc0191aeef73e5aa0c7f9a586d4bb27ed67facbb;p=pandora-kernel.git [IPVS]: Fix state variable on failure to start ipvs threads ip_vs currently fails to reset its ip_vs_sync_state variable if the sync thread fails to start properly. The result is that the kernel will report a running daemon when their actuall is none. If you issue the following commands: 1. ipvsadm --start-daemon master --mcast-interface bla 2. ipvsadm -L --daemon 3. ipvsadm --stop-daemon master Assuming that bla is not an actual interface, step 2 should return no data, but instead returns: $ ipvsadm -L --daemon master sync daemon (mcast=bla, syncid=0) Signed-off-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed