Peter Memishian wrote:

> I think there needs to be two seperate indexes - one used
> for the physical interface (phyint_ifindex) and another
> used for ill's (and handles SIOCSLIFINDEX) so we can keep
> the phyint_ifindex private and obeying the SNMP rule.

I don't see how that makes sense.  The ifindex is fundamentally a phyint
(rather than an ill) concept -- allowing different indices for IPv4 and
IPv6 would cause massive breakage.  Further, having the index reported by
ifconfig differ from the index reported by SNMP would only introduce a new
set of problems.

> However this doesn't solve the original problem (b_prev
> holding the ifindex) as there are still edge situations
> that could result in the packet going out the wrong NIC.

Is this actually a problem worth solving?  Who or what actually does
SIOCSLIFINDEX on a production system, and why?

I can't answer that but we do support it.

It sounds like you're in favour of just noting this is flawed
and moving on as there doesn't seem to be anything useful
that can be done here, either way, yes?

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to