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/if_tun.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/if_tun.c')
-rw-r--r-- | sys/net/if_tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 92bf7f6..20f7437 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -809,7 +809,7 @@ tunpoll(dev_t dev, int events, struct thread *td) } else { TUNDEBUG("%s%d: tunpoll waiting\n", ifp->if_name, ifp->if_unit); - selrecord(curthread, &tp->tun_rsel); + selrecord(td, &tp->tun_rsel); } } if (events & (POLLOUT | POLLWRNORM)) |