Page MenuHomeFreeBSD

inpcb: Add FIB-aware inpcb lookup
ClosedPublic

Authored by markj on Jan 24 2025, 5:04 PM.
Tags
None
Referenced Files
F151173135: D48662.id150629.diff
Mon, Apr 6, 2:22 PM
Unknown Object (File)
Sat, Mar 28, 11:43 AM
Unknown Object (File)
Thu, Mar 26, 3:53 PM
Unknown Object (File)
Mon, Mar 23, 8:11 AM
Unknown Object (File)
Sun, Mar 22, 7:04 PM
Unknown Object (File)
Thu, Mar 19, 5:55 AM
Unknown Object (File)
Thu, Mar 12, 1:55 PM
Unknown Object (File)
Wed, Mar 11, 12:58 PM
Subscribers

Details

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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 24 2025, 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 :)

This revision was automatically updated to reflect the committed changes.
markj marked 2 inline comments as done.