Fix to avoid crashes after the stream closes up.

This commit is contained in:
Paul Mackerras 1995-06-23 01:43:16 +00:00
parent 389090db3b
commit e3d832b18e

View File

@ -399,6 +399,7 @@ ppp_if_close(q)
} }
p->pii_npq = NULL; p->pii_npq = NULL;
p->pii_npq_tail = &p->pii_npq; p->pii_npq_tail = &p->pii_npq;
p->pii_writeq = NULL;
DLOG("ppp_if%d: closed\n", p - pii); DLOG("ppp_if%d: closed\n", p - pii);
} }
return(0); /* no work to be done */ return(0); /* no work to be done */