summaryrefslogtreecommitdiff
path: root/sys/netncp
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-03-31 22:49:17 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-03-31 22:49:17 +0000
commit4093529dee0f4cb9b9e199e4221d9d95f0cd347a (patch)
treeda7bdaf8a9eef1885d86203074ba0ad8ae222e7c /sys/netncp
parent0d49bb4b30e7ecf70acdbfc41bb709ca681ae4d2 (diff)
downloadsrc-test2-4093529dee0f4cb9b9e199e4221d9d95f0cd347a.tar.gz
src-test2-4093529dee0f4cb9b9e199e4221d9d95f0cd347a.zip
Notes
Diffstat (limited to 'sys/netncp')
-rw-r--r--sys/netncp/ncp_ncp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netncp/ncp_ncp.c b/sys/netncp/ncp_ncp.c
index c1c77b02ff67..0541793c0ff5 100644
--- a/sys/netncp/ncp_ncp.c
+++ b/sys/netncp/ncp_ncp.c
@@ -86,9 +86,10 @@ ncp_chkintr(struct ncp_conn *conn, struct thread *td)
p = td->td_proc;
PROC_LOCK(p);
tmpset = p->p_siglist;
- SIGSETNAND(tmpset, p->p_sigmask);
+ SIGSETOR(tmpset, td->td_siglist);
+ SIGSETNAND(tmpset, td->td_sigmask);
SIGSETNAND(tmpset, p->p_sigignore);
- if (SIGNOTEMPTY(p->p_siglist) && NCP_SIGMASK(tmpset)) {
+ if (SIGNOTEMPTY(td->td_siglist) && NCP_SIGMASK(tmpset)) {
PROC_UNLOCK(p);
return EINTR;
}