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)
Thu, May 21, 5:10 PM
Unknown Object (File)
Sun, May 17, 9:18 PM
Unknown Object (File)
Sun, May 17, 9:09 PM
Unknown Object (File)
Thu, May 14, 11:38 AM
Unknown Object (File)
Thu, May 14, 8:02 AM
Unknown Object (File)
Wed, May 13, 4:35 PM
Unknown Object (File)
Mon, May 11, 11:56 AM
Unknown Object (File)
Sun, May 10, 2:12 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).