Peter Memishian wrote: > > > 4. I'm having a tough time understanding the source IRE logic for > > > sdp_pr_lookup() -- it seems to try to use the destination IRE > > > for source information. Could someone please explain this code? > > > > > > > The IRE is used to just figure out which interface to send the packet > > out on. Also I think the name sire is a bit misleading and is used as > > an alternative name for the ire if ire_lookup fails for an exact match > > (i.e. reachable only through a gateway, mismatch in zone-ids etc). > > We also use that IRE to find a source hardware address, which is already a > bit suspect (e.g., I could have a forwarding table entry associated with > an ill that has no hardware address). > > I agree this needs to change.
I think that SDP needs to start using the generic ip_path_lookup APIs that RDS is using so that these changes can be done in one place only. Siddharth
