From owner-cvs-all@FreeBSD.ORG Tue Feb 22 16:24:56 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 4327216A4CE; Tue, 22 Feb 2005 16:24:56 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16BA043D45; Tue, 22 Feb 2005 16:24:56 +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 j1MGOtGS055966; Tue, 22 Feb 2005 16:24:55 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1MGOtM3055965; Tue, 22 Feb 2005 16:24:55 GMT (envelope-from glebius) Message-Id: <200502221624.j1MGOtM3055965@repoman.freebsd.org> From: Gleb Smirnoff Date: Tue, 22 Feb 2005 16:24:55 +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: Tue, 22 Feb 2005 16:24:56 -0000 glebius 2005-02-22 16:24:55 UTC FreeBSD src repository Modified files: sys/netinet ip_carp.c Log: Remove promisc counter from parent interface in carp_clone_destroy(), so that parent interface is not left in promiscous mode after carp interface is destroyed. This is not perfect, since promisc counter is added when carp interface is assigned an IP address. However, when address is removed parent interface is still in promiscuous mode. Only removal of carp interface removes promisc from parent. Same way in OpenBSD. Sponsored by: Rambler Revision Changes Path 1.2 +1 -0 src/sys/netinet/ip_carp.c