[Bug 298106] lang/python312 socketmodule: a fix for FreeBSD divert(4) socket

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Sep 2026 23:20:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298106

            Bug ID: 298106
           Summary: lang/python312 socketmodule: a fix for FreeBSD
                    divert(4) socket
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: glebius@FreeBSD.org
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 274342
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274342&action=edit
patch to apply

Although 3.12 has upstream support for the divert(4) (see bug 267648), there
left a problem, that was later fixed in 3.13.  The problem is that those socket
operations that need to know address length were failing. E.g. send(2) and
recv(2) work, but sendto(2) and recvfrom(2) don't.

Since we are slow on switching over to 3.13, I decided to backport this patch
to 3.12 and asking you to include it in the ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.