[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071015.125435.08669923.davem@davemloft.net>
Date: Mon, 15 Oct 2007 12:54:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH] Ensure that pneigh_lookup is protected with RTNL
From: Pavel Emelyanov <xemul@...nvz.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@...nvz.org>
Thanks for this patch, applied.
-
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