Module Name:    src
Committed By:   pooka
Date:           Sun Oct  4 13:24:58 UTC 2009

Modified Files:
        src/sys/rump/librump/rumpnet: rump_net.c

Log Message:
Initialize suckets before domains since some domains install timers
which take softnet_lock and might run before the lock is actually
initialized.  Also, soinit() itself already calls soinit2(), so no
need to call it twice.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/librump/rumpnet/rump_net.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpnet/rump_net.c
diff -u src/sys/rump/librump/rumpnet/rump_net.c:1.9 src/sys/rump/librump/rumpnet/rump_net.c:1.10
--- src/sys/rump/librump/rumpnet/rump_net.c:1.9	Wed Sep 16 13:30:41 2009
+++ src/sys/rump/librump/rumpnet/rump_net.c	Sun Oct  4 13:24:58 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump_net.c,v 1.9 2009/09/16 13:30:41 pooka Exp $	*/
+/*	$NetBSD: rump_net.c,v 1.10 2009/10/04 13:24:58 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.9 2009/09/16 13:30:41 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.10 2009/10/04 13:24:58 pooka Exp $");
 
 #include <sys/param.h>
 
@@ -52,6 +52,7 @@
 {
 
 	mbinit();
+	soinit();
 
 	domaininit(false);
 	/*
@@ -66,8 +67,5 @@
 
 	rump_net_virtif_init();
 
-	soinit();
-	soinit2();
-
 	rump_netisr_init();
 }

Reply via email to