Re: [PATCH] net: Fix race when opening a proc file while a network namespace is exiting.

2007-09-13 Thread David Miller
From: "Paul E. McKenney" <[EMAIL PROTECTED]> Date: Wed, 12 Sep 2007 15:46:53 -0700 > Looks much better! > > Acked-by: Paul E. McKenney <[EMAIL PROTECTED]> Applied, thanks everyone. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] M

Re: [PATCH] net: Fix race when opening a proc file while a network namespace is exiting.

2007-09-12 Thread Paul E. McKenney
On Wed, Sep 12, 2007 at 10:24:34AM -0600, Eric W. Biederman wrote: > > The problem: proc_net files remember which network namespace the are > against but do not remember hold a reference count (as that would pin > the network namespace). So we currently have a small window where > the reference

[PATCH] net: Fix race when opening a proc file while a network namespace is exiting.

2007-09-12 Thread Eric W. Biederman
The problem: proc_net files remember which network namespace the are against but do not remember hold a reference count (as that would pin the network namespace). So we currently have a small window where the reference count on a network namespace may be incremented when opening a /proc file wh