Page MenuHomeFreeBSD

inpcb: fully retire inp_ppcb pointer
ClosedPublic

Authored by glebius on Mar 24 2024, 5:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 4 2025, 2:51 PM
Unknown Object (File)
Jan 29 2025, 12:00 PM
Unknown Object (File)
Jan 28 2025, 7:30 AM
Unknown Object (File)
Jan 24 2025, 5:15 PM
Unknown Object (File)
Jan 24 2025, 6:45 AM
Unknown Object (File)
Jan 19 2025, 12:13 PM
Unknown Object (File)
Jan 17 2025, 7:38 PM
Unknown Object (File)
Jan 9 2025, 7:37 AM
Subscribers

Details

Summary

Before a protocol specific control block started to embed inpcb in self
(see 0aa120d52f3c, e68b3792440c, 483fe96511ec) this pointer used to point
at it.

Retain kf_sock_inpcb field in the struct kinfo_file in <sys/user.h>. The
exp-run detected a minimal use of the field in ports:

  • sysutils/lsof - patched
  • net-mgmt/etdata - patch submitted upstream
  • emulators/qemu-user-static - upstream master branch seems not using the field anymore

We can keep the field around for some time, but eventually it may be reused
for something else.

PR: 277659 (exp-run)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56766
Build 53654: arc lint + arc unit