HomeClusterLabs Projects

Refactor: attrd: remove dead code

Description

Refactor: attrd: remove dead code

The peer change callback can't be called for a Pacemaker Remote node unless the
node is already in the remote node cache, so don't bother trying to add it.
Modifying the peer caches is forbidden in peer change callbacks anyway since it
could lead to use-after-free issues in libcrmcluster.

Details

Provenance
kgaillotAuthored on Dec 14 2023, 11:03 AM
Parents
rP8d552c1b582a: Fix: pacemaker-attrd,libcrmcluster: avoid use-after-free when remote node in…
Branches
Unknown
Tags
Unknown