otp SO_BSDCOMPAT problems with recent Linux development kernels

Raimo Niskanen raimo.niskanen@REDACTED
Wed Apr 16 11:59:20 CEST 2003

Yes, please. Can you give us a runtime test?

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

mikpe@REDACTED wrote:
> Running OTP on a recent Linux development kernel results
> in the kernel log quickly filling up with messages like:
> process `beam' is using obsolete setsockopt SO_BSDCOMPAT
> erts/emulator/drivers/common/inet_drv.c sets this option.
> However, it is a no-op in the current stable Linux kernels
> (2.4) and the development kernel recently obsoleted it.
> The inet_drv.c code setting this option should either be
> removed, since the option has no effect in non-ancient kernels,
> or it should be restricted to 2.2 and older kernels.
> I'll leave it to the OTP networking people to decide what
> to do about this. I can contribute code for the kernel
> version test needed at runtime, if you want to continue
> using the option for older kernels, 
> /Mikael
> The HiPE team

More information about the erlang-questions mailing list