summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-11-06 07:08:43 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-11-06 07:08:43 +0000
commit17452040088b7204ba6ce088fd765782947eba73 (patch)
tree854915ce8d3ecbc1654a80801131c8c142ddb451
parent921f71bd94c91b7d0e895fc2bb838a1cf4a75895 (diff)
use IFQ_DEQUEUE, not IF_DEQUEUE, to pull off the send queue.
this is more correct, as it supports hfsc use on these interfaces.
-rw-r--r--sys/arch/vax/if/if_de.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c
index b4f6ec9b368..545c55353c1 100644
--- a/sys/arch/vax/if/if_de.c
+++ b/sys/arch/vax/if/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.31 2015/10/27 15:20:13 mpi Exp $ */
+/* $OpenBSD: if_de.c,v 1.32 2015/11/06 07:08:42 dlg Exp $ */
/* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */
/*
@@ -351,7 +351,7 @@ destart(ifp)
if (ds->ds_if.if_flags & IFF_OACTIVE)
return;
for (nxmit = ds->ds_nxmit; nxmit < NXMT; nxmit++) {
- IF_DEQUEUE(&ds->ds_if.if_snd, m);
+ IFQ_DEQUEUE(&ds->ds_if.if_snd, m);
if (m == NULL)
break;
rp = &ds->ds_xrent[ds->ds_xfree];