[erlang-questions] erlang:setnode/3 and sctp

Serge Aleynikov <>
Tue Jan 26 05:42:04 CET 2016


Actually it was 2006.

On Mon, Jan 25, 2016 at 11:41 PM, Serge Aleynikov <>
wrote:

> If memory serves me right, this flag was introduced to erts well after we
> implemented the SCTP driver back in 2008 (I believe it was erts R11B at
> that time), so you might have uncovered a regression bug.
>
> On Mon, Jan 25, 2016 at 10:20 PM, Tristan Sloughter <>
> wrote:
>
>> One of the sources of a badarg in that function is if the port driver
>> doesn't set the ERL_DRV_FLAG_SOFT_BUSY flag (see
>> http://erlang.org/doc/man/driver_entry.html#driver_flags). The SCTP
>> driver doesn't set this, so in the link to the code you sent, I'm guessing
>> it fails here:
>> https://github.com/erlang/otp/blob/maint/erts/emulator/beam/dist.c#L2772
>>
>>
>> Ah, thanks!
>>
>> But crap... this means SCTP (at least with the provided driver) can't be
>> used for distribution? A custom driver is required? Assuming there isn't
>> something about SCTP itself that makes this problematic?
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160125/9c479656/attachment.html>


More information about the erlang-questions mailing list