artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5241d0f
)
i forgot to convert ifq_barrier_task to cond_signal.
author
dlg
<dlg@openbsd.org>
Thu, 14 Dec 2017 02:40:51 +0000
(
02:40
+0000)
committer
dlg
<dlg@openbsd.org>
Thu, 14 Dec 2017 02:40:51 +0000
(
02:40
+0000)
sys/net/ifq.c
patch
|
blob
|
history
diff --git
a/sys/net/ifq.c
b/sys/net/ifq.c
index
22eba97
..
3ad81b4
100644
(file)
--- a/
sys/net/ifq.c
+++ b/
sys/net/ifq.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ifq.c,v 1.1
6 2017/12/14 00:45:16
dlg Exp $ */
+/* $OpenBSD: ifq.c,v 1.1
7 2017/12/14 02:40:51
dlg Exp $ */
/*
* Copyright (c) 2015 David Gwynne <dlg@openbsd.org>
@@
-150,10
+150,9
@@
ifq_barrier(struct ifqueue *ifq)
void
ifq_barrier_task(void *p)
{
-
unsigned int *notdone
= p;
+
struct cond *c
= p;
- *notdone = 0;
- wakeup_one(notdone);
+ cond_signal(c);
}
/*