xenbus: remove transaction holder from list before freeing
Juergen Gross
Reviewed-byQuoted 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 5584ea250ae44f929feb4c7bd3877d1c5edbf813Signed-off-by Jan Beulich <[email protected]>
Thanks,
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Boris Ostrovsky
AppliedQuoted 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 5584ea250ae44f929feb4c7bd3877d1c5edbf813Signed-off-by Jan Beulich <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Applied to for-linus-4.11b.
-boris
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel