[Bug 293493] in_pcb.h pulls in kernel headers when used in userspace

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Mar 2026 18:33:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293493

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=041e9eb1ae094a81e55fbcaba37eb2ac194658cc

commit 041e9eb1ae094a81e55fbcaba37eb2ac194658cc
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-03-12 18:02:27 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-03-12 18:32:30 +0000

    inpcb: overhaul in_pcb.h

    Pull up all user-visible stuff to the top of the file and isolate the
    rest under _KERNEL.  The user visible parts are:
    - struct in_conninfo
    - struct xinpcb
    - defines for inp_flags bits, that are shared between xinpcb and inpcb

    PR:     293493

 sys/netinet/in_pcb.h | 477 +++++++++++++++++++++++++--------------------------
 1 file changed, 231 insertions(+), 246 deletions(-)

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