Module Name:    src
Committed By:   pooka
Date:           Mon Jan 14 16:48:08 UTC 2013

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

Log Message:
Set networking soft interrupt vectors earlier, just in case interface
component initialization causes network traffic to be received.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 src/sys/rump/librump/rumpnet/rump_net.c:1.15
--- src/sys/rump/librump/rumpnet/rump_net.c:1.14	Mon Jan 14 16:45:47 2013
+++ src/sys/rump/librump/rumpnet/rump_net.c	Mon Jan 14 16:48:08 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump_net.c,v 1.14 2013/01/14 16:45:47 pooka Exp $	*/
+/*	$NetBSD: rump_net.c,v 1.15 2013/01/14 16:48:08 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.14 2013/01/14 16:45:47 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.15 2013/01/14 16:48:08 pooka Exp $");
 
 #include <sys/param.h>
 
@@ -54,12 +54,11 @@ RUMP_COMPONENT(RUMP__FACTION_NET)
 	soinit();
 
 	domaininit(false);
+	rump_netisr_init();
 
 	rump_component_init(RUMP_COMPONENT_NET);
 	rump_component_init(RUMP_COMPONENT_NET_ROUTE);
 	rump_component_init(RUMP_COMPONENT_NET_IF);
 	rump_component_init(RUMP_COMPONENT_NET_IFCFG);
 	rump_net_components();
-
-	rump_netisr_init();
 }

Reply via email to