Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fastdp: Do not reset heartbeat timer for non-confirmed connections
It is possible to receive FastDatapathCryptoInitSARemote control plane message before Confirm'ing a connection. In such case, resetting heartbeatTimer leads to null pointer dereference, as the timer is initialized during Confirm'ation. In this situation, skipping the reset is non-harmful, because Confirm'ing will reset it. NB: the reset to 0 should only happen after establishing the connection on both ends.
- Loading branch information