* jamal <[EMAIL PROTECTED]> 2005-07-25 18:28 > So ifindex maybe the simplest way to go. If someone unloads a module > for the netdevice then loads it back or pops out a hotplug net card > and then pops it in - could we safely assume they are talking about > another device? ;->
We can also use ifindex and hold a reference. We won't access input_dev too often so a __dev_get_by_ifindex() won't be too expensive given the number of interfaces is not too big but that's another issue. - 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