]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NET: net_namespace, fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Sat, 17 Jan 2009 06:47:12 +0000 (06:47 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Feb 2009 17:53:29 +0000 (09:53 -0800)
commit7b4fec3251eb3c770dc8baa79df8eec5403dabb2
tree7a3b13d0357245475654290b45e982fdc86ea11a
parentf8b9d6d4e097b38b199253243b361bee9795cd14
NET: net_namespace, fix lock imbalance

commit 357f5b0b91054ae23385ea4b0634bb8b43736e83 upstream.

register_pernet_gen_subsys omits mutex_unlock in one fail path.
Fix it.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/core/net_namespace.c