Page MenuHomeFreeBSD

netinet: make ifa_ifwithaddr() and ifa_ifwithaddr_check() fib-aware
Needs ReviewPublic

Authored by neel_neelc.org on May 24 2020, 11:26 PM.

Details

Reviewers
melifaro
Summary

netinet: make ifa_ifwithaddr() and ifa_ifwithaddr_check() fib-aware

Submitted by: Neel Chauhan <neel AT neelc DOT org>

Test Plan
  1. Set net.fibs between 2-16 in /boot/loader.conf
  1. Add a route in say FIB 1 which points to a subnet (e.g. default router, or subnet behind subrouter)
  1. Do a ping/traceroute to a destination with an ICMP redirect, say a subrouter behind your router, but the subrouter's "external" interface is on the same subnet but different IP as your fib 1 router IP (which also has a route to the subrouter)

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

neel_neelc.org requested review of this revision.May 24 2020, 11:26 PM

Can you please fill in the testing section?

neel_neelc.org edited the test plan for this revision. (Show Details)May 31 2020, 10:02 PM
neel_neelc.org added a reviewer: melifaro.

Sorry for the delay, I filled in the testing section.