diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-08 09:51:01 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-10-08 09:51:01 +0000 |
commit | 03624db1b1642619d31945693388acc6615373ab (patch) | |
tree | 57ceb705500afac603dd6fc8fba7ac1a66588bcf /sys/net | |
parent | 0158014573d69a323d4119d76cb9541f84048d4a (diff) |
Unlock the softnet task.
ok dlg@, kettenis@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 1 insertions, 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 |