ChangeSet@1.1565, 2005-02-10 10:00:20-02:00, akpm@osdl.org [PATCH] Kenneth Sumrall: In lp_write(), copy_from_user() is called to copy data into a statically allocated kernel buffer before down_interruptible(). From: Kenneth Sumrall In lp_write(), copy_from_user() is called to copy data into a statically allocated kernel buffer before down_interruptible() is called. If a second thread of execution comes in between the copy_from_user() and the down_interruptible() calls, silent data corruption could result. Signed-off-by: Andrew Morton ChangeSet@1.1564, 2005-02-09 14:11:50-02:00, marcelo@logos.cnet Cset exclude: alanh@fairlite.demon.co.uk|ChangeSet|20050209150113|54411 TAG: v2.4.30-pre1