DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2011 13:10:46 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]