diff options
-rw-r--r-- | sys/arch/vax/if/sgec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/if/sgec.c b/sys/arch/vax/if/sgec.c index 4b4fce4a1f2..d02c74dc7d5 100644 --- a/sys/arch/vax/if/sgec.c +++ b/sys/arch/vax/if/sgec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sgec.c,v 1.30 2015/10/27 15:20:13 mpi Exp $ */ +/* $OpenBSD: sgec.c,v 1.31 2015/11/07 12:01:22 dlg Exp $ */ /* $NetBSD: sgec.c,v 1.5 2000/06/04 02:14:14 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -384,7 +384,7 @@ zestart(ifp) continue; } idx = sc->sc_nexttx; - IF_DEQUEUE(&sc->sc_if.if_snd, m); + IF_POLL(&sc->sc_if.if_snd, m); if (m == NULL) goto out; /* @@ -399,10 +399,10 @@ zestart(ifp) panic("zestart"); /* XXX */ if ((i + sc->sc_inq) >= (TXDESCS - 1)) { - IF_PREPEND(&sc->sc_if.if_snd, m); ifp->if_flags |= IFF_OACTIVE; goto out; } + IFQ_DEQUEUE(&sc->sc_if.if_snd, m); #if NBPFILTER > 0 if (ifp->if_bpf) |