vsock: fix missing cleanup when misc_register failed
authorGao feng <omarapazanadi@gmail.com>
Sun, 18 Oct 2015 15:35:56 +0000 (23:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Oct 2015 14:41:06 +0000 (07:41 -0700)
commitf6a835bb04ca34b6fd337eea0544a871ba2349b8
tree7c654f8760174bcd131acf5f1156c03b4ff36a61
parent10be15ff6c33f1dc0a96cae6089dc2268834e568
vsock: fix missing cleanup when misc_register failed

reset transport and unlock if misc_register failed.

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/af_vsock.c