summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2017-01-19 23:42:26 +0000
committerjpaetzel <jpaetzel@FreeBSD.org>2017-01-19 23:42:26 +0000
commit3d43d47e2dfb79e5d3abb61fc33c636d37e8b842 (patch)
tree7237e9071c03e76acb4656994debc267fbec4932 /contrib/diff/lib
parent34f0e7816bb1543e5e1380573b253e859cdb816d (diff)
downloadFreeBSD-src-3d43d47e2dfb79e5d3abb61fc33c636d37e8b842.zip
FreeBSD-src-3d43d47e2dfb79e5d3abb61fc33c636d37e8b842.tar.gz
MFC 310847 310864
Harden CARP against network loops. If there is a loop in the network a CARP that is in MASTER state will see it's own broadcasts, which will then cause it to assume BACKUP state. When it assumes BACKUP it will stop sending advertisements. In that state it will no longer see advertisements and will assume MASTER... We can't catch all the cases where we are seeing our own CARP broadcast, but we can catch the obvious case. Unbreak ip_carp with WITHOUT_INET6 enabled by conditionalizing all IPv6 structs under the INET6 #ifdef. Similarly (even though it doesn't seem to affect the build), conditionalize all IPv4 structs under the INET #ifdef This also unbreaks the LINT-NOINET6 tinderbox target on amd64; I have not verified other MACHINE/TARGET pairs (e.g. armv6/arm). Submitted by: torek Obtained from: FreeNAS Pointyhat fix: ngie
Diffstat (limited to 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud