Bug 298106 - lang/python312 socketmodule: a fix for FreeBSD divert(4) socket
Summary: lang/python312 socketmodule: a fix for FreeBSD divert(4) socket
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-09-01 23:20 UTC by Gleb Smirnoff
Modified: 2026-09-01 23:22 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
patch to apply (1.26 KB, patch)
2026-09-01 23:20 UTC, Gleb Smirnoff
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Smirnoff freebsd_committer freebsd_triage 2026-09-01 23:20:30 UTC
Created attachment 274342 [details]
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.