Date: Tue, 6 Oct 2009 18:47:02 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net flowtable.c flowtable.h route.c Message-ID: <200910061847.n96IlPUH021263@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910061847.n96IlPUH021263>