On Thu, 25 May 2006 09:23:31 -0700, Stephen Hemminger wrote:
> +             unregister_netdevice(dev);
> + err:
>       rtnl_unlock();
> +     if (ret)
> +             free_netdev(dev);
>       return ret;

I don't think this is correct. netdev_run_todo calls dev->destructor
which is set to free_netdev by br_dev_setup. So you're calling
free_netdev on already freed device.

 Jiri

-- 
Jiri Benc
SUSE Labs
-
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

Reply via email to