otp icon indicating copy to clipboard operation
otp copied to clipboard

Fix deadlock caused by net_kernel:setopts(new, _)

Open rickard-green opened this issue 2 years ago • 1 comments

A call to net_kernel:setopts(new, Opts) at the same time as a connection was being set up could cause a deadlock between the net_kernel process and the process setting up the connection.

Fixes #6129

rickard-green avatar Aug 11 '22 23:08 rickard-green

CT Test Results

       2 files       65 suites   53m 14s :stopwatch: 1 321 tests 1 181 :heavy_check_mark: 140 :zzz: 0 :x: 1 476 runs  1 305 :heavy_check_mark: 171 :zzz: 0 :x:

Results for commit 1db67afd.

:recycle: This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

github-actions[bot] avatar Aug 11 '22 23:08 github-actions[bot]