Message ID | 7e547248b6c24b9f3761720f84919614af69c802.1646752948.git.doebel@amazon.de (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v4,1/2] Livepatch: resolve old address before function verification | expand |
diff --git a/xen/common/livepatch.c b/xen/common/livepatch.c index ec301a9f12..be2cf75c2d 100644 --- a/xen/common/livepatch.c +++ b/xen/common/livepatch.c @@ -684,11 +684,11 @@ static int prepare_payload(struct payload *payload, return -EINVAL; } - rc = arch_livepatch_verify_func(f); + rc = resolve_old_address(f, elf); if ( rc ) return rc; - rc = resolve_old_address(f, elf); + rc = arch_livepatch_verify_func(f); if ( rc ) return rc;