git: kernel - Fix SMP assumption of at least 2 cpus w/TCP

看板DFBSD_commit作者時間15年前 (2011/02/01 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 985b2cb052a8dcc949a48c55a078b49991492709 Author: Matthew Dillon <dillon@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
文章代碼(AID): #1DHofNOa (DFBSD_commit)