From 40b2138cb3cd857a12bd3e4ac4f0b3cdf22e7f91 Mon Sep 17 00:00:00 2001 From: dlg Date: Thu, 14 Dec 2017 02:40:51 +0000 Subject: [PATCH] i forgot to convert ifq_barrier_task to cond_signal. --- sys/net/ifq.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/net/ifq.c b/sys/net/ifq.c index 22eba971297..3ad81b4ba66 100644 --- a/sys/net/ifq.c +++ b/sys/net/ifq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifq.c,v 1.16 2017/12/14 00:45:16 dlg Exp $ */ +/* $OpenBSD: ifq.c,v 1.17 2017/12/14 02:40:51 dlg Exp $ */ /* * Copyright (c) 2015 David Gwynne @@ -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); } /* -- 2.20.1