I'm rewriting a virtual network interface driver for Linux 2.4.x, and
am somewhat puzzled by the reference count in struct net_device.
Can someone please tell me what rules of thumb exist for when to
increment or decrement it (if any)?
The LDD book implies that drivers shouldn't have to mess with it. I notice
that few drivers/net modules seem concerned about it. But my predecessor
has dev_puts and dev_holds sprinkled throughout the driver and I'm missing
the underlying logic.
-- Gary Cote email@example.com
- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:01 EST