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, Sep 10, 9:57 PM
Unknown Object (File)
Sun, Aug 30, 11:02 AM
Unknown Object (File)
Sat, Aug 29, 6:31 PM
Unknown Object (File)
Fri, Aug 28, 8:15 PM
Unknown Object (File)
Fri, Aug 28, 3:59 AM
Unknown Object (File)
Wed, Aug 26, 2:54 PM
Unknown Object (File)
Mon, Aug 24, 6:01 AM
Unknown Object (File)
Sun, Aug 23, 6:01 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 72309
Build 69192: arc lint + arc unit

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).