summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-08-15 07:20:15 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-08-15 07:20:15 +0000
commit0215bf0ae9a29084fd5e4fbbacdd0da00d0344a4 (patch)
treed220f16909cf8387f6ea509b81110bc6854934e3
parent50e119e069b746c38615ae7fb3fbb40e706901a2 (diff)
No need to reset si_selpid after calling selwakeup() the function
already does it.
-rw-r--r--sys/net/bpf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 528fe5044ba..d731632a2bd 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.146 2016/08/15 07:17:10 mpi Exp $ */
+/* $OpenBSD: bpf.c,v 1.147 2016/08/15 07:20:14 mpi Exp $ */
/* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */
/*
@@ -521,8 +521,6 @@ bpf_wakeup(struct bpf_d *d)
d->bd_siguid, d->bd_sigeuid);
selwakeup(&d->bd_sel);
- /* XXX */
- d->bd_sel.si_selpid = 0;
}
int