[PATCH] usbnet: use alloc_etherdev to allocate private data
In order for network device lifetime stuff to work properly, it is necessary for devices to allocate private data as part of alloc_etherdev. Also, netdev_priv() is improvement over dereferencing netdev->priv Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Showing
Please register or sign in to comment