OpenVZ Forum


Home » Mailing lists » Devel » [net-2.6.24][patch 0/2] Dynamically allocate the loopback
Re: [net-2.6.24][patch 2/2] Dynamically allocate the loopback device [message #20848 is a reply to message #20757] Wed, 26 September 2007 21:40 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
David Miller <davem@davemloft.net> writes:

> I've put these patches into the just-rebased net-2.6.24 tree.
>
> I made a minor modification to the second patch, the
> out_free_netdev: code in loopback_init() ended like this:
>
> out_free_netdev:
> 	free_netdev(dev);
> 	goto out;
> 	return err;
> };
>
> I got rid of the spurious return statement and the trailing
> semi-colon after the function closing brace.

Thanks.  I feel silly for not doing a closer code review of
this variant of the patch and missing this bug.

Eric
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to remove control groups on 2.6.23-rc8-mm1
Next Topic: [PATCH] net: Fix running without sysfs
Goto Forum:
  


Current Time: Wed Oct 08 16:25:11 GMT 2025

Total time taken to generate the page: 0.12065 seconds