Page MenuHomeFreeBSD

inpcb: remove always true condition in in_pcblookup_local()
ClosedPublic

Authored by glebius on Apr 18 2026, 1:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 6:14 AM
Unknown Object (File)
Mon, Jun 8, 6:03 PM
Unknown Object (File)
Tue, Jun 2, 12:07 PM
Unknown Object (File)
May 21 2026, 5:10 PM
Unknown Object (File)
May 17 2026, 9:18 PM
Unknown Object (File)
May 17 2026, 9:09 PM
Unknown Object (File)
May 14 2026, 11:38 AM
Unknown Object (File)
May 14 2026, 8:02 AM
Subscribers

Details

Summary

We are searching through the hash that has only wildcard bindings.
This was missed by fdb987bebddf05e15a5af840379c7715a94aec1c.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 18 2026, 12:15 PM

BTW, I regret calling this table "wild". "unconnected" would be much clearer. I wonder if you want to change this as part of your work in this area?

I actually like "wild". The "unconnected" is already used for inpcbs that are not put into any hash, e.g. right after socket(2).