Page MenuHomeFreeBSD

Add compat.linux.ignore_ip_recverr sysctl
ClosedPublic

Authored by trasz on Jan 17 2020, 2:14 PM.
Tags
None
Referenced Files
F153741273: D23234.id67414.diff
Thu, Apr 23, 8:50 AM
Unknown Object (File)
Mon, Apr 20, 4:33 AM
Unknown Object (File)
Sat, Apr 18, 4:11 PM
Unknown Object (File)
Mon, Apr 13, 8:14 AM
Unknown Object (File)
Fri, Apr 10, 1:34 AM
Unknown Object (File)
Sun, Apr 5, 1:39 PM
Unknown Object (File)
Wed, Apr 1, 6:59 AM
Unknown Object (File)
Mar 14 2026, 11:50 AM
Subscribers

Details

Summary

Add compat.linux.ignore_ip_recverr sysctl. This is a workaround
for missing IP_RECVERR setsockopt(2) support. Without it, DNS
resolution is broken for glibc >= 2.30 (glibc BZ #24047).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Why a sysctl for this one instead of just whine loudly and carry on like most other cases?

Because it would be way too verbose - it’s being used all the time, every time something attempts to resolve a name. The sysctl is just a debugging aid, in case it would break some use case.

(Also, I have another change that adds generic logging of unsupported options in setsockopt and getsockopt in the queue.)

This revision was not accepted when it landed; it landed in state Needs Review.Jan 28 2020, 1:52 PM
This revision was automatically updated to reflect the committed changes.