bridge: Utilize netisr to run physical interface's if_start
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 23 Sep 2012 09:08:22 +0000 (17:08 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 23 Sep 2012 09:18:10 +0000 (17:18 +0800)
sys/net/bridge/if_bridge.c

index 7a7d31a..5b06187 100644 (file)
@@ -1936,7 +1936,7 @@ bridge_enqueue(struct ifnet *dst_ifp, struct mbuf *m)
        nmp->nm_packet = m;
        nmp->base.lmsg.u.ms_resultp = dst_ifp;
 
-       lwkt_sendmsg(ifnet_portfn(mycpu->gd_cpuid), &nmp->base.lmsg);
+       lwkt_sendmsg(netisr_portfn(mycpu->gd_cpuid), &nmp->base.lmsg);
 }
 
 /*