lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 11 Sep 2013 20:03:07 +0000 From: KY Srinivasan <kys@...rosoft.com> To: Wei Yongjun <weiyj.lk@...il.com>, Haiyang Zhang <haiyangz@...rosoft.com> CC: "yongjun_wei@...ndmicro.com.cn" <yongjun_wei@...ndmicro.com.cn>, "devel@...uxdriverproject.org" <devel@...uxdriverproject.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: RE: [PATCH] Drivers: hv: vmbus: fix error return code in vmbus_connect() > -----Original Message----- > From: Wei Yongjun [mailto:weiyj.lk@...il.com] > Sent: Wednesday, September 11, 2013 4:20 AM > To: KY Srinivasan; Haiyang Zhang > Cc: yongjun_wei@...ndmicro.com.cn; devel@...uxdriverproject.org; linux- > kernel@...r.kernel.org > Subject: [PATCH] Drivers: hv: vmbus: fix error return code in vmbus_connect() > > From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn> > > Fix to return -EINVAL in the version check error handling > case instead of 0, as done elsewhere in this function. The return will not be zero in this case. If you look at the function vmbus_negotiate_version(), in case the host refuses the version, the return value will be set to -ECONNREFUSED Regards, K. Y -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists