summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorlstewart <lstewart@FreeBSD.org>2010-11-16 07:57:56 +0000
committerlstewart <lstewart@FreeBSD.org>2010-11-16 07:57:56 +0000
commitb114c25bf801c8ee5bee3bf3c70cbd3cf528223d (patch)
tree74174ff920dcb37e4fea1ff4590f07f35148792d /sys/netinet/tcp_var.h
parentc28db57abb39d3a184fc1946ad3108a57c5b5c69 (diff)
downloadFreeBSD-src-b114c25bf801c8ee5bee3bf3c70cbd3cf528223d.zip
FreeBSD-src-b114c25bf801c8ee5bee3bf3c70cbd3cf528223d.tar.gz
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
Diffstat (limited to 'sys/netinet/tcp_var.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud