]> err.no Git - linux-2.6/commit
wan/farsync: copy_from_user() to iomem is wrong
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 16 Mar 2008 22:22:44 +0000 (22:22 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:56:29 +0000 (07:56 -0400)
commit5ffa6d7f613ca0198dae235986443cd921fa2e75
treef91ae00e87f9adf78e9b0ad5f3f2e7fe1e49ea94
parented773b4ab1387a25b3be027d45c94daae3c8a607
wan/farsync: copy_from_user() to iomem is wrong

kmalloc intermediate buffer(), do copy_from_user() + memcpy_toio()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wan/farsync.c