commit | 6afbdd059c27330eccbd85943354f94c2b83a7fe | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Mar 30 21:55:23 2009 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Mar 30 21:55:23 2009 +1030 |
tree | 5b3becb10a07e84c5fedda8c562f5637c091cc04 | |
parent | c5f841f1780dad7efb7eca092f60742d47f47d25 [diff] |
lguest: fix spurious BUG_ON() on invalid guest stack. Impact: fix crash on misbehaving guest gpte_addr() contains a BUG_ON(), insisting that the present flag is set. We need to return before we call it if that isn't the case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org