diff options
author | Sverker Eriksson <[email protected]> | 2015-11-10 15:43:15 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-11-10 15:43:15 +0100 |
commit | 949de78331b9c4ecb9c628bb651cecb113790e2e (patch) | |
tree | 108bbaeb677a9f0445ca5580e2d6034be8f58161 /lib/tools/src | |
parent | 1eeb980a3591b51f12363543b2ac9b0260ebd870 (diff) | |
download | otp-949de78331b9c4ecb9c628bb651cecb113790e2e.tar.gz otp-949de78331b9c4ecb9c628bb651cecb113790e2e.tar.bz2 otp-949de78331b9c4ecb9c628bb651cecb113790e2e.zip |
erts: Fix bug in setnode/2
that could lead strange things to happen when renaming a node with
a name that already exist in node and dist tables.
Problem:
erts_set_this_node() is a bit brutal and does not handle the case
when an old remote node name is reused as the new local node name.
Solution:
Treat erts_this_node and erts_this_dist_entry as all the others
with correct reference counting.
Diffstat (limited to 'lib/tools/src')
0 files changed, 0 insertions, 0 deletions