Don't reset PTO backoff when our address need not be validated

This commit is contained in:
Benjamin Saunders
2020-05-22 15:27:40 -07:00
committed by Dirkjan Ochtman
parent 8c81bb7c6e
commit 075fbb2ab9
+3 -1
View File
@@ -967,7 +967,9 @@ where
// Must be called before crypto/pto_count are clobbered
self.detect_lost_packets(now, space);
self.pto_count = 0;
if self.peer_not_awaiting_address_validation() {
self.pto_count = 0;
}
// Explicit congestion notification
if self.path.sending_ecn {