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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Aug 2016 09:49:26 +0000 (11:49 +0200)
commitd1e6344e0b97f8c7d2e14a5bd892d0180274e0c5
tree3e0365384d87af27459bf8a9187e3f5134c2259b
parent66af4230b41fe0fe4d88e011a849437f176e7732
xenbus: don't BUG() on user mode induced condition

commit 0beef634b86a1350c31da5fcc2992f0d7c8a622b upstream.

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>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/xenbus/xenbus_dev_frontend.c