Skip to contentSkip to conversation

xenbus: remove transaction holder from list before freeing

PATCH Applied Juergen Gross 2 participants 2 messages Apr 4, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Juergen Gross

author Reviewed-by
#1 lore raw
Quoted 8 lines · Jan Beulich

After allocation the item is being placed on the list right away. Consequently it needs to be taken off the list before freeing in the case xenbus_dev_request_and_reply() failed, as in that case the callback (xenbus_dev_queue_reply()) is not being called (and if it was called, it should do both).

Fixes 5584ea250ae44f929feb4c7bd3877d1c5edbf813

Thanks,

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 10 lines · Juergen Gross
Quoted 8 lines · Jan Beulich

After allocation the item is being placed on the list right away. Consequently it needs to be taken off the list before freeing in the case xenbus_dev_request_and_reply() failed, as in that case the callback (xenbus_dev_queue_reply()) is not being called (and if it was called, it should do both).

Fixes 5584ea250ae44f929feb4c7bd3877d1c5edbf813

Applied to for-linus-4.11b.

-boris

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel