diff options
author | jhb <jhb@FreeBSD.org> | 2001-09-21 22:46:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-09-21 22:46:54 +0000 |
commit | 69b2d3f3db54f4cde3dd60308204bdabacae595d (patch) | |
tree | 057f0cd831e7571064316d6cd028a7bac4d0448f /sys/net/bpf.c | |
parent | 5954be75cafd9af8c37554c9128a4910deb3f77e (diff) | |
download | FreeBSD-src-69b2d3f3db54f4cde3dd60308204bdabacae595d.zip FreeBSD-src-69b2d3f3db54f4cde3dd60308204bdabacae595d.tar.gz |
Use the passed in thread to selrecord() instead of curthread.
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 874fcb6..68e5308 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -990,7 +990,7 @@ bpfpoll(dev, events, td) if (d->bd_hlen != 0 || (d->bd_immediate && d->bd_slen != 0)) revents |= events & (POLLIN | POLLRDNORM); else - selrecord(curthread, &d->bd_sel); + selrecord(td, &d->bd_sel); } BPFD_UNLOCK(d); return (revents); |