Re: linux kernel 2.6.18-20 bug: rcu_read_unlock in __sock_create

2007-08-15 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Wed, 15 Aug 2007 16:33:35 +0800 > [NET]: Fix unbalanced rcu_read_unlock in __sock_create > > The recent RCU work created an unbalanced rcu_read_unlock > in __sock_create. This patch fixes that. Reported by > oleg 123. > > Signed-off-by: Herbert Xu <[E

Re: linux kernel 2.6.18-20 bug: rcu_read_unlock in __sock_create

2007-08-15 Thread Herbert Xu
oleg 123 <[EMAIL PROTECTED]> wrote: > > There is a bug in __sock_create() function (net/socket.c). > If an error occur in LSM hook security_socket_post_create, then unneeded > rcu_read_unlock() is made in __sock_create. Well spotted! Please cc netdev@vger.kernel.org for networking issues. [NET]: