mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add missing initialization which could lead to kernel panic.
This commit is contained in:
parent
1d45e38736
commit
ba9ae29ee3
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue