Don't reference a node after we dropped a reference to it
(same as in previous checkin, but in a different function).
This commit is contained in:
parent
cdcb16abd2
commit
422c727634
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75433
@ -790,8 +790,8 @@ ng_pptpgre_recv_ack_timeout(void *arg)
|
||||
splx(s);
|
||||
return;
|
||||
}
|
||||
NG_NODE_UNREF(node);
|
||||
if (arg != a->rackTimerPtr) { /* timer stopped race condition */
|
||||
NG_NODE_UNREF(node);
|
||||
splx(s);
|
||||
return;
|
||||
}
|
||||
@ -817,6 +817,7 @@ ng_pptpgre_recv_ack_timeout(void *arg)
|
||||
priv->recvAck = priv->xmitSeq; /* pretend we got the ack */
|
||||
a->xmitWin = (a->xmitWin + 1) / 2; /* shrink transmit window */
|
||||
a->winAck = priv->recvAck + a->xmitWin; /* reset win expand time */
|
||||
NG_NODE_UNREF(node);
|
||||
splx(s);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user