summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/projects/libunwind/src/UnwindLevel1-gcc-ext.c
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2017-01-19 23:38:31 +0000
committerjpaetzel <jpaetzel@FreeBSD.org>2017-01-19 23:38:31 +0000
commit7daafa16f5418c7b42eb1ef64b290c7cbdacd8d3 (patch)
treea6ef2326b0ddfe7e1f77cb3860bf454e6d7b6aad /contrib/llvm/projects/libunwind/src/UnwindLevel1-gcc-ext.c
parentcc464351e36c4ef9350c2805ca1b10f991fe7aa6 (diff)
downloadFreeBSD-src-7daafa16f5418c7b42eb1ef64b290c7cbdacd8d3.zip
FreeBSD-src-7daafa16f5418c7b42eb1ef64b290c7cbdacd8d3.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/llvm/projects/libunwind/src/UnwindLevel1-gcc-ext.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud