HomeFreeBSD

carp: fix send error demotion recovery

Description

carp: fix send error demotion recovery

The problem is that carp(4) would clear the error counter on first
successful send, and stop counting successes after that. Fix this
logic and document it in human language.

PR: 260499
Differential revision: https://reviews.freebsd.org/D33536

Details

Provenance
glebiusAuthored on Dec 19 2021, 1:19 AM
Differential Revision
D33536: Fix carp being unable to recover from demotion due to send errors
Parents
rG623ecf233256: Move ve_check_hash prototype to libsecureboot-priv.h
Branches
Unknown
Tags
Unknown