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_iso88025subr.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_iso88025subr.c')
-rw-r--r-- | sys/net/if_iso88025subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index a34f929..dfe31e2 100644 --- a/sys/net/if_iso88025subr.c +++ b/sys/net/if_iso88025subr.c @@ -430,9 +430,10 @@ iso88025_output(ifp, m, dst, rt0) } } - if (! IF_HANDOFF_ADJ(&ifp->if_snd, m, ifp, ISO88025_HDR_LEN + LLC_SNAPFRAMELEN) ) { + IFQ_HANDOFF_ADJ(ifp, m, ISO88025_HDR_LEN + LLC_SNAPFRAMELEN, error); + if (error) { printf("iso88025_output: packet dropped QFULL.\n"); - senderr(ENOBUFS); + ifp->if_oerrors++; } return (error); |