Date: Tue, 16 Nov 2010 07:57:56 +0000 (UTC) From: Lawrence Stewart <lstewart@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet/cc cc.c Message-ID: <201011160758.oAG7w8Oj090449@repoman.freebsd.org>
index | next in thread | raw e-mail
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 <to.my.trociny at gmail com>
Reviewed by: bz (briefly)
MFC after: 11 weeks
Revision Changes Path
1.3 +35 -24 src/sys/netinet/cc/cc.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011160758.oAG7w8Oj090449>
