diff options
| author | Yuho Choi <dbgh9129@gmail.com> | 2026-08-06 23:23:26 -0400 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-08-13 12:48:57 +0200 |
| commit | d330fb86a7170f845123ae82d95df440fad9b707 (patch) | |
| tree | 05c4ca13b2aea4051e35a695f71b39b8f896f87a /rust/kernel/alloc | |
| parent | d58b51bf1d31080bd46d493bfcb78e17af6a9fac (diff) | |
xenbus: Unregister reboot notifier on init failure
xs_init() registers xs_reboot_nb before initializing XenStore
communications and starting xenwatch. If either operation fails, the
notifier remains registered and a later initialization attempt can hit a
duplicate registration.
Check the notifier registration result and unregister it on every
subsequent failure path.
Fixes: fd8aa9095a95 ("xen: optimize xenbus driver for multiple concurrent xenstore accesses")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260807032326.940377-1-dbgh9129@gmail.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
