lguest: fix guest kernel stack overflow when TF bit set.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Sep 2013 08:15:53 +0000 (17:45 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Sep 2013 22:39:27 +0000 (08:09 +0930)
commit98fb4e5e6b100a247ce2dbf2d1699726fdcdef20
treecaed1f9e084f2e8f7d1a38b8705d2c7831da2ee8
parent4623c28e222d82f87537ef66db61ebcfbd8306db
lguest: fix guest kernel stack overflow when TF bit set.

The symptoms are that running gdb on a binary causes the guest to
overflow the kernels stack (after some period of time), resulting in
it finally being killed with a "Bad address" message.

Reported-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/interrupts_and_traps.c