]> git.neil.brown.name Git - history.git/commit
[IPVS]: Fix IPVS sync state check.
authorWensong Zhang <wensong@linux-vs.org>
Mon, 13 Oct 2003 05:28:21 +0000 (22:28 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Mon, 13 Oct 2003 05:28:21 +0000 (22:28 -0700)
commite801de945a28975e794c8003c9fa06ce149a9356
tree1c75eca3e574325dde9196747a9231ce204ed9d6
parent23c50109c30ba20795767aa3828665472daf2c4f
[IPVS]: Fix IPVS sync state check.

Patch from Horms <horms@vergenet.net>

Since both the primay and the backup sync daemon can be started in a box
at a time, we must just check if the MASTER bit is set in the sync state.
net/ipv4/ipvs/ip_vs_core.c