artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6204dbd
)
ifq_start does OACTIVE and RUNNING checks for the driver
author
mikeb
<mikeb@openbsd.org>
Mon, 12 Jun 2017 12:35:07 +0000
(12:35 +0000)
committer
mikeb
<mikeb@openbsd.org>
Mon, 12 Jun 2017 12:35:07 +0000
(12:35 +0000)
Reminded by dlg@.
sys/dev/pv/if_xnf.c
patch
|
blob
|
history
diff --git
a/sys/dev/pv/if_xnf.c
b/sys/dev/pv/if_xnf.c
index
1f2e910
..
d63cc45
100644
(file)
--- a/
sys/dev/pv/if_xnf.c
+++ b/
sys/dev/pv/if_xnf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_xnf.c,v 1.5
6 2017/06/09 20:38:48
mikeb Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.5
7 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);