Drivers: hv: vmbus: Use after free in __vmbus_open()
[linux-2.6-microblaze.git] / drivers / hv / channel.c
index db30be8..1c5a418 100644 (file)
@@ -653,7 +653,7 @@ static int __vmbus_open(struct vmbus_channel *newchannel,
 
        if (newchannel->rescind) {
                err = -ENODEV;
-               goto error_free_info;
+               goto error_clean_msglist;
        }
 
        err = vmbus_post_msg(open_msg,