aue/lgue: Utilize netisr to run if_start
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 23 Sep 2012 09:07:01 +0000 (17:07 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 23 Sep 2012 09:18:10 +0000 (17:18 +0800)
sys/dev/netif/aue/if_aue.c
sys/dev/netif/lgue/if_lgue.c

index 3ce1eb2..92e254f 100644 (file)
@@ -974,7 +974,7 @@ aue_start_ipifunc(void *arg)
 
        crit_enter();
        if (lmsg->ms_flags & MSGF_DONE)
-               lwkt_sendmsg(ifnet_portfn(mycpuid), lmsg);
+               lwkt_sendmsg(netisr_portfn(mycpuid), lmsg);
        crit_exit();
 }
 
index 6e1a211..ffe1022 100644 (file)
@@ -469,7 +469,7 @@ lgue_start_ipifunc(void *arg)
        lmsg = &ifp->if_start_nmsg[mycpuid].lmsg;
        crit_enter();
        if (lmsg->ms_flags & MSGF_DONE)
-               lwkt_sendmsg(ifnet_portfn(mycpuid), lmsg);
+               lwkt_sendmsg(netisr_portfn(mycpuid), lmsg);
        crit_exit();
 }