
void netdev_freemem(struct net_device *dev)
{
	char *addr = (char *)dev - dev->padded;

	if (is_vmalloc_addr(addr))
		vfree(addr);
	else
		kfree(addr);

void netdev_freemem(struct net_device *dev)
{
	char *addr = (char *)dev - dev->padded;

	if (is_vmalloc_addr(addr))
		vfree(addr);
	else
		kfree(addr);