projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa8410b
)
xenbus: don't look up transaction IDs for ordinary writes
author
Jan Beulich
<
[email protected]
>
Mon, 15 Aug 2016 15:02:38 +0000
(09:02 -0600)
committer
David Vrabel
<
[email protected]
>
Wed, 24 Aug 2016 17:16:18 +0000
(18:16 +0100)
This should really only be done for XS_TRANSACTION_END messages, or
else at least some of the xenstore-* tools don't work anymore.
Fixes: 0beef634b8 ("xenbus: don't BUG() on user mode induced condition")
Reported-by: Richard Schütz <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Jan Beulich <
[email protected]
>
Tested-by: Richard Schütz <
[email protected]
>
Signed-off-by: David Vrabel <
[email protected]
>
drivers/xen/xenbus/xenbus_dev_frontend.c
patch
|
blob
|
history
diff --git
a/drivers/xen/xenbus/xenbus_dev_frontend.c
b/drivers/xen/xenbus/xenbus_dev_frontend.c
index 7487971f9f788b12a637216c29cc853bb933c1ca..c1010f018bd857985b5bf0ada1f5286f0f68b2bf 100644
(file)
--- a/
drivers/xen/xenbus/xenbus_dev_frontend.c
+++ b/
drivers/xen/xenbus/xenbus_dev_frontend.c
@@
-316,7
+316,7
@@
static int xenbus_write_transaction(unsigned msg_type,
rc = -ENOMEM;
goto out;
}
- } else {
+ } else
if (msg_type == XS_TRANSACTION_END)
{
list_for_each_entry(trans, &u->transactions, list)
if (trans->handle.id == u->u.msg.tx_id)
break;