From owner-cvs-src@FreeBSD.ORG Fri Nov 12 20:53:51 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D7516A4CE; Fri, 12 Nov 2004 20:53:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB42743D55; Fri, 12 Nov 2004 20:53:51 +0000 (GMT) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iACKrpLX036335; Fri, 12 Nov 2004 20:53:51 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iACKrpQw036334; Fri, 12 Nov 2004 20:53:51 GMT (envelope-from mlaier) Message-Id: <200411122053.iACKrpQw036334@repoman.freebsd.org> From: Max Laier Date: Fri, 12 Nov 2004 20:53:51 +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 in.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 20:53:51 -0000 mlaier 2004-11-12 20:53:51 UTC FreeBSD src repository Modified files: sys/netinet in.c Log: Change the way we automatically add prefix routes when adding a new address. This makes it possible to have more than one address with the same prefix. The first address added is used for the route. On deletion of an address with IFA_ROUTE set, we try to find a "fallback" address and hand over the route if possible. I plan to MFC this in 4 weeks, hence I keep the - now obsolete - argument to in_ifscrub as it must be considered KAPI as it is not static in in.c. I will clean this after the MFC. Discussed on: arch, net Tested by: many testers of the CARP patches Nits from: ru, Andrea Campi Obtained from: WIDE via OpenBSD MFC after: 1 month Revision Changes Path 1.78 +147 -27 src/sys/netinet/in.c