Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpnet Set networking soft interrupt vecto...



details:   https://anonhg.NetBSD.org/src/rev/364ea1070755
branches:  trunk
changeset: 783999:364ea1070755
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 14 16:48:08 2013 +0000

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

diffstat:

 sys/rump/librump/rumpnet/rump_net.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 34e01d0a7394 -r 364ea1070755 sys/rump/librump/rumpnet/rump_net.c
--- a/sys/rump/librump/rumpnet/rump_net.c       Mon Jan 14 16:45:47 2013 +0000
+++ b/sys/rump/librump/rumpnet/rump_net.c       Mon Jan 14 16:48:08 2013 +0000
@@ -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 @@
        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();
 }



Home | Main Index | Thread Index | Old Index