Add missing initialization which could lead to kernel panic.
This commit is contained in:
parent
4f03976b42
commit
b139641a6e
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user