Files
xen/tools
Juergen Gross 1df1a2acab tools/xenstore: fix quota check in transaction_fix_domains()
Today when finalizing a transaction the number of node quota is checked
to not being exceeded after the transaction. This check is always done,
even if the transaction is being performed by a privileged connection,
or if there were no nodes created in the transaction.

Correct that by checking quota only if:
- the transaction is being performed by an unprivileged guest, and
- at least one node was created in the transaction

Reported-by: Julien Grall <julien@xen.org>
Fixes: f2bebf72c4 ("xenstore: rework of transaction handling")
Signed-off-by: Juergen Gross <jgross@suse.com>
master commit: f6b801c36b
master date: 2023-03-29 22:02:36 +0100
2023-04-24 13:03:36 +02:00
..
2023-03-21 13:53:25 +01:00
2021-02-01 15:18:36 +00:00
2021-07-07 13:07:46 +01:00
2021-02-10 15:30:59 +00:00
2021-11-23 16:43:49 +00:00