From 473ddaa9685ea5552b6f382d6023332f49062f37 Mon Sep 17 00:00:00 2001 From: bp Date: Fri, 29 Oct 1999 10:21:07 +0000 Subject: [PATCH] Add missing initialization which could lead to kernel panic. --- sys/netncp/ncp_ncp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netncp/ncp_ncp.c b/sys/netncp/ncp_ncp.c index 499eb1cab5aa..69a77760a752 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)) {