From owner-cvs-all@FreeBSD.ORG Thu Feb 24 09:05:29 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27D1E16A4CE; Thu, 24 Feb 2005 09:05:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F23EA43D46; Thu, 24 Feb 2005 09:05:28 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1O95Sx8041933; Thu, 24 Feb 2005 09:05:28 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1O95Sbg041932; Thu, 24 Feb 2005 09:05:28 GMT (envelope-from glebius) Message-Id: <200502240905.j1O95Sbg041932@repoman.freebsd.org> From: Gleb Smirnoff Date: Thu, 24 Feb 2005 09:05:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_carp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 09:05:29 -0000 glebius 2005-02-24 09:05:28 UTC FreeBSD src repository Modified files: sys/netinet ip_carp.c Log: Fix problem when master comes up with one interface down, and preempts mastering on all other interfaces: - call carp_carpdev_state() on initialize instead of just setting to INIT - in carp_carpdev_state() check that interface is UP, instead of checking that it is not DOWN, because a rebooted machine may have interface in UNKNOWN state. Sponsored by: Rambler Obtained from: OpenBSD (partially) Revision Changes Path 1.4 +2 -2 src/sys/netinet/ip_carp.c