diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-03-24 16:01:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-03-24 16:01:23 +0000 |
commit | b85e9ba20c14a428d67fc578018fd8a539c89f7b (patch) | |
tree | b40dafa9a5122b8fb1353291f58602e22cbd30a1 /sys/net | |
parent | bb009c4c0bea668c35c72a9601e752153bc19d8a (diff) |
Kill the horrible hack of storing the pid in struct selinfo.
Instead, keep the proc pointer in it and put the selinfo on a list
in struct proc in selrecord. Then clean up the list when leaving
sys_select and sys_poll.
miod@ ok, testing by many, including Bobs spamd boxes.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 4c18bec6b24..0b3e79cd67e 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.64 2007/03/04 23:36:34 canacar Exp $ */ +/* $OpenBSD: bpf.c,v 1.65 2007/03/24 16:01:22 art Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -496,8 +496,6 @@ bpf_wakeup(struct bpf_d *d) d->bd_siguid, d->bd_sigeuid); selwakeup(&d->bd_sel); - /* XXX */ - d->bd_sel.si_selpid = 0; KNOTE(&d->bd_sel.si_note, 0); } |