summaryrefslogtreecommitdiffstats
path: root/sys/netncp
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-10-29 10:21:07 +0000
committerbp <bp@FreeBSD.org>1999-10-29 10:21:07 +0000
commitb139641a6e3d831ea2dcbcb7643ff73b2e8458bd (patch)
tree5499671a1e0fa33e5f49aa8a4ca481c7679170a6 /sys/netncp
parent4f03976b42abc77076eb39f572546f53efd220e9 (diff)
downloadFreeBSD-src-b139641a6e3d831ea2dcbcb7643ff73b2e8458bd.zip
FreeBSD-src-b139641a6e3d831ea2dcbcb7643ff73b2e8458bd.tar.gz
Add missing initialization which could lead to kernel panic.
Diffstat (limited to 'sys/netncp')
-rw-r--r--sys/netncp/ncp_ncp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netncp/ncp_ncp.c b/sys/netncp/ncp_ncp.c
index 499eb1ca..69a7776 100644
--- a/sys/netncp/ncp_ncp.c
+++ b/sys/netncp/ncp_ncp.c
@@ -187,6 +187,7 @@ ncp_do_request(struct ncp_conn *conn, struct ncp_rq *rqp) {
struct mbuf *m, *mreply = NULL;
conn->nc_rq = rqp;
+ rqp->conn = conn;
if (p == NULL)
p = curproc; /* XXX maybe procpage ? */
if (!ncp_conn_valid(conn)) {
OpenPOWER on IntegriCloud