Daniel Lezcano <[EMAIL PROTECTED]> writes:
>> +
>> +mutex_lock(&net_mutex);
>> +err = setup_net(new_net);
>> +if (err)
>> +goto out_unlock;
>>
> Should we "net_free" in case of error ?
Oops. Yes we should.
Thanks.
>> +net_lock();
>> +net_list_append(new_net);
>>
Eric W. Biederman wrote:
From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted
This patch allows you to create a new network namespace
using sys_clone(...).
Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
---
include/linux/sched.h|1 +
kernel/nsproxy.c | 11 +++