Re: [PATCH] Ensure that pneigh_lookup is protected with RTNL

2007-10-15 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Mon, 15 Oct 2007 17:38:57 +0400 > The pnigh_lookup is used to lookup proxy entries and to > create them in case lookup failed. > > However, the "creation" code does not perform the re-lookup > after GFP_KERNEL allocation. This is done because the

[PATCH] Ensure that pneigh_lookup is protected with RTNL

2007-10-15 Thread Pavel Emelyanov
The pnigh_lookup is used to lookup proxy entries and to create them in case lookup failed. However, the "creation" code does not perform the re-lookup after GFP_KERNEL allocation. This is done because the code is expected to be protected with the RTNL lock, so add the assertion (mainly to addre