The current version of ip{,6}_output() do not do an FIB lookup after a PFIL hook changes m->m_pkthdr.fibnum while they do when the destination address is changed. IPFW supports setfib rule to change fibnum, for example. This patch makes them do a fibnum check after pfil_run_hooks() for output packets and look up FIB again when necessary.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
I think I am indifferent as I haven't thought much about why this is needed yet.
Can we maybe name the variable "needfiblookup" or something to make it clear what we want to lookup?