netgraph7/iface: Use ifq_dispatch() instead of ifq_handoff()
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 28 Dec 2012 03:48:32 +0000 (11:48 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 28 Dec 2012 03:48:32 +0000 (11:48 +0800)
sys/netgraph7/iface/ng_iface.c

index 7c56ddb..83a7ed0 100644 (file)
@@ -444,7 +444,7 @@ ng_iface_output(struct ifnet *ifp, struct mbuf *m,
                        return (ENOBUFS);
                }
                *(sa_family_t *)m->m_data = dst->sa_family;
-               error = ifq_handoff(ifp, m, 0);
+               error = ifq_dispatch(ifp, m, NULL);
        } else
                error = ng_iface_send(ifp, m, dst->sa_family);