commit | c8d70a29d6bbc956013f3401f92a4431a9385a3c | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Mon May 11 09:42:31 2020 +0200 |
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Thu May 21 12:59:15 2020 -0500 |
tree | 32baf767179e14f69bc8447744d190452f95c5cc | |
parent | b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce [diff] |
xen/pvcalls-back: test for errors when calling backend_connect() backend_connect() can fail, so switch the device to connected only if no error occurred. Fixes: 0a9c75c2c7258f2 ("xen/pvcalls: xenbus state handling") Cc: stable@vger.kernel.org Signed-off-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20200511074231.19794-1-jgross@suse.com Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>