git: kernel - Fix SMP assumption of at least 2 cpus w/TCP
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jan 31 13:11:48 PST 2011
commit 985b2cb052a8dcc949a48c55a078b49991492709
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Jan 31 13:09:39 2011 -0800
kernel - Fix SMP assumption of at least 2 cpus w/TCP
* TCP was assuming at least 2 cpus on SMP builds and would panic if only
1 cpu was available.
* Fix by testing ncpus even for SMP builds.
* This problem did not effect UP builds.
Summary of changes:
sys/netinet/tcp_subr.c | 1 +
sys/netinet/tcp_usrreq.c | 60 ++++++++++++++++++++++++---------------------
2 files changed, 33 insertions(+), 28 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/985b2cb052a8dcc949a48c55a078b49991492709
--
DragonFly BSD source repository
More information about the Commits
mailing list