lguest: fix bug in setting guest GDT entry
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Jan 2010 08:56:14 +0000 (18:56 +1030)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Jan 2010 20:33:33 +0000 (12:33 -0800)
commit3e27249c84beed1c79d767b350e52ad038db9053
tree56fbbd5e952c4b01649c5b4f84dc7ce135cdc6ee
parent741f21e811752b440c505bf0149c4d16e9f3160d
lguest: fix bug in setting guest GDT entry

We kill the guest, but then we blatt random stuff.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/lguest/segments.c