[PATCH] Drivers: hv: vmbus: fix error return code in vmbus_connect()

Dan Carpenter dan.carpenter at oracle.com
Thu Sep 12 11:07:53 UTC 2013


On Thu, Sep 12, 2013 at 12:36:46AM +0000, KY Srinivasan wrote:
> When you try a given version, vmbus_negotiate_version() returns an error code
> if the host does not support that version. Hence, in this code you will not be able to
> run on anything prior to ws2012. I have already sent in a patch to fix that - if we timeout
> only then we jump to cleanup. In any event, if we tried all versions and none was acceptable
> to the host, we would return the value from vmbus_negotiate_version().
> 

First of all Wei's patch fixes an obvious bug.  Read the code.

If you already fixed it then what's the URL or the subject of your
email so we can look for it in our inbox.  Give us a clue here.

regards,
dan carpenter



More information about the devel mailing list