[PATCH] Fix hvc console sleep in spinlock bug
From: Jeremy Kerr <jk@ozlabs.org> This patch fixes the sleep in spinlock hvc bug in hvc_write(). The code is a little longer, but protects against large amounts of memory being kmalloc()ed by userspace, and minimises calls to copy_from_user().
Showing
Please register or sign in to comment