From: mpi Date: Thu, 8 Oct 2015 09:51:00 +0000 (+0000) Subject: Unlock the softnet task. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c671e160fd8803bb9d1f9b86f99c85ac805b8433;p=openbsd Unlock the softnet task. ok dlg@, kettenis@ --- diff --git a/sys/net/if.c b/sys/net/if.c index afb092a1778..6aeeb077294 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.385 2015/10/05 19:05:09 uebayasi Exp $ */ +/* $OpenBSD: if.c,v 1.386 2015/10/08 09:51:00 mpi Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -779,7 +779,6 @@ if_input_process(void *xmq) add_net_randomness(ml_len(&ml)); - KERNEL_LOCK(); s = splnet(); while ((m = ml_dequeue(&ml)) != NULL) { sched_pause(); @@ -817,7 +816,6 @@ if_input_process(void *xmq) if_put(ifp); } splx(s); - KERNEL_UNLOCK(); } void