[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1sl3sjkp6.fsf@ebiederm.dsl.xmission.com>
Date: Tue, 30 Oct 2007 16:34:29 -0600
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Daniel Lezcano <dlezcano@...ibm.com>
Cc: davem@...emloft.net, containers@...ts.osdl.org,
netdev@...r.kernel.org
Subject: Re: [patch 1/1][NETNS] resend: fix net released by rcu callback
Daniel Lezcano <dlezcano@...ibm.com> 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 the
> error with an usage refcount different from zero.
> It appears that was coming from core/neighbour.c
>
> neigh_parms_release
> -> neigh_rcu_free_parms
> -> neigh_parms_put
> -> neigh_parms_destroy
> -> release_net
>
> The free_net function was called before rcu callback neigh_rcu_free_parms.
Ok. Cool. It is good to know that this patch was tested. These kinds
of subtle fixes are always more solid when you can actually test them.
Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists