Page MenuHomeFreeBSD

inpcb: Add FIB-aware inpcb lookup
AcceptedPublic

Authored by markj on Fri, Jan 24, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 2, 10:19 PM
Unknown Object (File)
Sat, Feb 1, 2:43 PM
Unknown Object (File)
Wed, Jan 29, 8:22 PM
Unknown Object (File)
Wed, Jan 29, 5:52 AM
Unknown Object (File)
Tue, Jan 28, 4:55 AM
Unknown Object (File)
Sun, Jan 26, 3:48 PM
Unknown Object (File)
Sun, Jan 26, 6:28 AM
Unknown Object (File)
Fri, Jan 24, 8:02 PM
Subscribers

Details

Reviewers
glebius
melifaro
Group Reviewers
network
Summary

Allow protocol layers to look up an inpcb belonging to a particular FIB.
This is indicated by setting INPLOOKUP_FIB; if it is set, the FIB to be
used is obtained from the specificed mbuf or ifnet.

No functional change intended.

Sponsored by: Klara, Inc.
Sponsored by: Stormshield

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Fri, Jan 24, 5:35 PM
melifaro added inline comments.
sys/netinet/in_pcb.c
849

Nit: we have RT_ALL_FIBS for that.

sys/netinet/in_pcb.c
849

Yep, I second Alexander's correction. As reviewing I was feeling that this bare -1 needs to be something else :)