diff options
author | Rickard Green <[email protected]> | 2018-09-05 16:04:51 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2018-09-05 16:30:19 +0200 |
commit | a31216200bdee2c04b3fb3ae5e26607674715c8a (patch) | |
tree | 26ad8d59b3af89be1f907d08bd605641b2f7037e /erts/emulator/beam/dist.h | |
parent | f7012b7a731924193cf05fc77b103e89bd0fcbfb (diff) | |
download | otp-a31216200bdee2c04b3fb3ae5e26607674715c8a.tar.gz otp-a31216200bdee2c04b3fb3ae5e26607674715c8a.tar.bz2 otp-a31216200bdee2c04b3fb3ae5e26607674715c8a.zip |
Prevent inconsistent node lists
If net_kernel "forgets" to abort a connection (as it currently might),
the garbage collection of a distribution entry could cause node lists
to enter an inconsistent state.
Diffstat (limited to 'erts/emulator/beam/dist.h')
-rw-r--r-- | erts/emulator/beam/dist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h index dda2029a4c..30b4b35c20 100644 --- a/erts/emulator/beam/dist.h +++ b/erts/emulator/beam/dist.h @@ -399,5 +399,7 @@ extern void erts_kill_dist_connection(DistEntry *dep, Uint32); extern Uint erts_dist_cache_size(void); +extern Sint erts_abort_connection(DistEntry *dep, Uint32 conn_id); + #endif |