summaryrefslogtreecommitdiffstats
path: root/sys/netncp
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-10-01 17:15:53 +0000
committerjmallett <jmallett@FreeBSD.org>2002-10-01 17:15:53 +0000
commit7a693db242641440dad298d332b3cc5a4c88f8f4 (patch)
tree07d2fcfbfe85d84af8cf79f8fec57733afa19e18 /sys/netncp
parentb5dfcc0b31407d0d79c551549f16736d600e350a (diff)
downloadFreeBSD-src-7a693db242641440dad298d332b3cc5a4c88f8f4.zip
FreeBSD-src-7a693db242641440dad298d332b3cc5a4c88f8f4.tar.gz
Back our kernel support for reliable signal queues.
Requested by: rwatson, phk, and many others
Diffstat (limited to 'sys/netncp')
-rw-r--r--sys/netncp/ncp_ncp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netncp/ncp_ncp.c b/sys/netncp/ncp_ncp.c
index a93bd61..8d86c02 100644
--- a/sys/netncp/ncp_ncp.c
+++ b/sys/netncp/ncp_ncp.c
@@ -42,7 +42,6 @@
#include <sys/sysctl.h>
#include <sys/mbuf.h>
#include <sys/uio.h>
-#include <sys/ksiginfo.h>
#include <netipx/ipx.h>
#include <netipx/ipx_var.h>
@@ -81,10 +80,10 @@ ncp_chkintr(struct ncp_conn *conn, struct proc *p)
if (p == NULL)
return 0;
- ksiginfo_to_sigset_t(p, &tmpset);
+ tmpset = p->p_siglist;
SIGSETNAND(tmpset, p->p_sigmask);
SIGSETNAND(tmpset, p->p_sigignore);
- if (signal_queued(p, 0) && NCP_SIGMASK(tmpset))
+ if (SIGNOTEMPTY(p->p_siglist) && NCP_SIGMASK(tmpset))
return EINTR;
return 0;
}
OpenPOWER on IntegriCloud