Page MenuHomeFreeBSD

inpcb: remove always true condition in in_pcblookup_local()
AcceptedPublic

Authored by glebius on Sat, Apr 18, 1:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 18, 12:36 PM
Unknown Object (File)
Sat, Apr 18, 12:20 PM
Unknown Object (File)
Sat, Apr 18, 7:50 AM
Unknown Object (File)
Sat, Apr 18, 6:12 AM
Subscribers

Details

Reviewers
markj
pouria
Group Reviewers
network
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.Sat, Apr 18, 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).