From owner-cvs-src-old@FreeBSD.ORG Tue Nov 16 07:58:08 2010 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 6A9171065670 for ; Tue, 16 Nov 2010 07:58:08 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5018FC23 for ; Tue, 16 Nov 2010 07:58:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAG7w8IE090450 for ; Tue, 16 Nov 2010 07:58:08 GMT (envelope-from lstewart@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAG7w8Oj090449 for cvs-src-old@freebsd.org; Tue, 16 Nov 2010 07:58:08 GMT (envelope-from lstewart@repoman.freebsd.org) Message-Id: <201011160758.oAG7w8Oj090449@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to lstewart@repoman.freebsd.org using -f From: Lawrence Stewart Date: Tue, 16 Nov 2010 07:57:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet/cc cc.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, 16 Nov 2010 07:58:08 -0000 lstewart 2010-11-16 07:57:56 UTC FreeBSD src repository Modified files: sys/netinet/cc cc.c Log: SVN rev 215391 on 2010-11-16 07:57:56Z by lstewart On CC algorithm module unload, we walk the list of active TCP control blocks. Any found to be using the algorithm that is about to go away are switched back to NewReno to avoid leaving dangling pointers which would trigger a panic. For VIMAGE kernels, there is a list per vnet to walk, yet the implementation was only examining one of the vnet lists. Fix the implementation of the above feature for VIMAGE kernels by looping through all active TCP control blocks across all vnets. Sponsored by: FreeBSD Foundation Tested by: Mikolaj Golub Reviewed by: bz (briefly) MFC after: 11 weeks Revision Changes Path 1.3 +35 -24 src/sys/netinet/cc/cc.c