diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-06-15 23:57:42 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-06-15 23:57:42 +0000 |
commit | 02300f227ffc4cadfc19d925b489f443132b1376 (patch) | |
tree | d5efbd7578982ffd4278b8857f7acb6969a2ffa2 /sys/net/if_ef.c | |
parent | efc9e973bf86814f88bf2b016d7b3d6d866fb32d (diff) | |
download | FreeBSD-src-02300f227ffc4cadfc19d925b489f443132b1376.zip FreeBSD-src-02300f227ffc4cadfc19d925b489f443132b1376.tar.gz |
Replace IF_HANDOFF with new IFQ_HANDOFF to enqueue with ALTQ once enabled on
the respective drivers.
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r-- | sys/net/if_ef.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c index 05b0ff6..23741d1 100644 --- a/sys/net/if_ef.c +++ b/sys/net/if_ef.c @@ -215,6 +215,7 @@ ef_start(struct ifnet *ifp) struct efnet *sc = (struct efnet*)ifp->if_softc; struct ifnet *p; struct mbuf *m; + int error; ifp->if_flags |= IFF_OACTIVE; p = sc->ef_ifp; @@ -225,7 +226,8 @@ ef_start(struct ifnet *ifp) if (m == 0) break; BPF_MTAP(ifp, m); - if (! IF_HANDOFF(&p->if_snd, m, p)) { + IFQ_HANDOFF(p, m, error); + if (error) { ifp->if_oerrors++; continue; } |