From owner-cvs-src-old@FreeBSD.ORG Tue Oct 6 18:47:25 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49827106568F for ; Tue, 6 Oct 2009 18:47:25 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 37C1A8FC1F for ; Tue, 6 Oct 2009 18:47:25 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n96IlPdb021264 for ; Tue, 6 Oct 2009 18:47:25 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n96IlPUH021263 for cvs-src-old@freebsd.org; Tue, 6 Oct 2009 18:47:25 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200910061847.n96IlPUH021263@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Tue, 6 Oct 2009 18:47:02 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net flowtable.c flowtable.h route.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 18:47:25 -0000 qingli 2009-10-06 18:47:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net flowtable.c flowtable.h route.c Log: SVN rev 197810 on 2009-10-06 18:47:02Z by qingli MFC r197687 The flow-table associates TCP/UDP flows and IP destinations with specific routes. When the routing table changes, for example, when a new route with a more specific prefix is inserted into the routing table, the flow-table is not updated to reflect that change. As such existing connections cannot take advantage of the new path. In some cases the path is broken. This patch will update the affected flow-table entries when a more specific route is added. The route entry is properly marked when a route is deleted from the table. In this case, when the flow-table performs a search, the stale entry is updated automatically. Therefore this patch is not necessary for route deletion. Reviewed by: bz, kmacy Approved by: re Revision Changes Path 1.15.2.7 +35 -5 src/sys/net/flowtable.c 1.10.2.3 +2 -0 src/sys/net/flowtable.h 1.167.2.2 +61 -0 src/sys/net/route.c