From c671e160fd8803bb9d1f9b86f99c85ac805b8433 Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 8 Oct 2015 09:51:00 +0000 Subject: [PATCH] Unlock the softnet task. ok dlg@, kettenis@ --- sys/net/if.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.20.1