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

David Miller davem at davemloft.net
Mon Oct 15 12:54:35 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
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 code
> is expected to be protected with the RTNL lock, so add the 
> assertion (mainly to address future questions from new network 
> developers like me :) ).
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Thanks for this patch, applied.




More information about the Devel mailing list