* Jamal Hadi Salim <[EMAIL PROTECTED]> 2005-07-23 10:37 > ifindex has to be 32 bit because most management apps (SNMP etc) expect > it to be 32 bit. I havent scanned the code but making int actually > doesnt seem right - unless some code is expecting it to be a -ve number > somewhere; it should be type u32.
No, we use s32 at the moment with the limitation that negative indices are illegal. We don't have to break the interfaces just because of this, but since dev_new_ifindex() will be reusing gone indices if needed it might be possible to at least use u16 within the kernel. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html