Skip to content
Snippets Groups Projects
Commit f73d1e6c authored by Eugene Teo's avatar Eugene Teo Committed by Rusty Russell
Browse files

lguest: make sure cpu is initialized before accessing it


If req is LHREQ_INITIALIZE, and the guest has been initialized before
(unlikely), it will attempt to access cpu->tsk even though cpu is not yet
initialized.

Signed-off-by: default avatarEugene Teo <eugeneteo@kernel.sg>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent cdeeeae0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment