HomeFreeBSD

MFC r333322: Keep CARP state as INIT when net.inet.carp.allow=0.

Description

MFC r333322: Keep CARP state as INIT when net.inet.carp.allow=0.

Currently when net.inet.carp.allow=0 CARP state remains as MASTER, which is
not very useful (if there are other masters -- it can lead to split brain,
if there are none -- it makes no sense). Having it as INIT makes it clear
that carp packets are disabled.

Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on
Parents
rS346769: MFC r341641 (by sef): Reduce number of DNS queries in mountd.
Branches
Unknown
Tags
Unknown