diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-07-25 23:11:54 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-07-25 23:11:54 +0000 |
commit | 070039b1c8ca03061ac4202b16fd7b3e290f5c02 (patch) | |
tree | f019791fc2b31cd7da6831063764dce783a8677e /sys/net/bpf.c | |
parent | 2a06794e0449288c91c5fbccd8dfe13c4cacf9d9 (diff) |
Back out the tracking of procs in struct selinfo. There's one serious
bug in the code, but as soon as I try to fix it, it seems to trigger
some other bugs. Instead of trying to figure out what's going on
while everyone suffers, it's better to back out and figure out
the bugs outside the tree.
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 0b3e79cd67e..15cfeecee8e 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.65 2007/03/24 16:01:22 art Exp $ */ +/* $OpenBSD: bpf.c,v 1.66 2007/07/25 23:11:53 art Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -496,6 +496,8 @@ 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); } |