From 44ac566c76e0b8aef101d9e0df40356fe7565ac4 Mon Sep 17 00:00:00 2001 From: mikeb Date: Mon, 12 Jun 2017 12:35:07 +0000 Subject: [PATCH] ifq_start does OACTIVE and RUNNING checks for the driver Reminded by dlg@. --- sys/dev/pv/if_xnf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c index 1f2e910136a..d63cc45bac6 100644 --- a/sys/dev/pv/if_xnf.c +++ b/sys/dev/pv/if_xnf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xnf.c,v 1.56 2017/06/09 20:38:48 mikeb Exp $ */ +/* $OpenBSD: if_xnf.c,v 1.57 2017/06/12 12:35:07 mikeb Exp $ */ /* * Copyright (c) 2015, 2016 Mike Belopuhov @@ -495,9 +495,6 @@ xnf_start(struct ifqueue *ifq) int pkts = 0; uint32_t prod, oprod; - if (!(ifp->if_flags & IFF_RUNNING) || ifq_is_oactive(ifq)) - return; - bus_dmamap_sync(sc->sc_dmat, sc->sc_tx_rmap, 0, 0, BUS_DMASYNC_POSTREAD); -- 2.20.1