Re: [patch 1/1][NETNS] resend: fix net released by rcu callback

2007-10-30 Thread David Miller
From: Daniel Lezcano <[EMAIL PROTECTED]> Date: Tue, 30 Oct 2007 17:21:40 +0100 > When a network namespace reference is held by a network subsystem, > and when this reference is decremented in a rcu update callback, we > must ensure that there is no more outstanding rcu update before > trying to f

Re: [patch 1/1][NETNS] resend: fix net released by rcu callback

2007-10-30 Thread Eric W. Biederman
Daniel Lezcano <[EMAIL PROTECTED]> writes: > Yes, I had this problem when doing ipv6 isolation for netns49. The ipv6 > subsystem creation failed and the different subsystem where rollbacked in the > setup_net function. > When the network namespace was about to be freed in free_net function, I had

Re: [patch 1/1][NETNS] resend: fix net released by rcu callback

2007-10-30 Thread Daniel Lezcano
Eric W. Biederman wrote: Daniel Lezcano <[EMAIL PROTECTED]> writes: When a network namespace reference is held by a network subsystem, and when this reference is decremented in a rcu update callback, we must ensure that there is no more outstanding rcu update before trying to free the network

Re: [patch 1/1][NETNS] resend: fix net released by rcu callback

2007-10-30 Thread Eric W. Biederman
Daniel Lezcano <[EMAIL PROTECTED]> writes: > When a network namespace reference is held by a network subsystem, > and when this reference is decremented in a rcu update callback, we > must ensure that there is no more outstanding rcu update before > trying to free the network namespace. > > In th

[patch 1/1][NETNS] resend: fix net released by rcu callback

2007-10-30 Thread Daniel Lezcano
When a network namespace reference is held by a network subsystem, and when this reference is decremented in a rcu update callback, we must ensure that there is no more outstanding rcu update before trying to free the network namespace. In the normal case, the rcu_barrier is called when the netwo