xenbus: don't BUG() on user mode induced condition
authorJan Beulich <JBeulich@suse.com>
Thu, 7 Jul 2016 07:23:57 +0000 (01:23 -0600)
committerSasha Levin <alexander.levin@verizon.com>
Wed, 20 Jul 2016 15:35:52 +0000 (11:35 -0400)
commit19f46e355fc211e071896916b7e4ec1f9b243d90
treecfff40c001ab0c1ba71357bb431c9d9c0d2689dd
parent12d75ae734c265f419cf063e750d476a6a2d99ff
xenbus: don't BUG() on user mode induced condition

[ Upstream commit 0beef634b86a1350c31da5fcc2992f0d7c8a622b ]

Inability to locate a user mode specified transaction ID should not
lead to a kernel crash. For other than XS_TRANSACTION_START also
don't issue anything to xenbus if the specified ID doesn't match that
of any active transaction.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/xen/xenbus/xenbus_dev_frontend.c