Messages in this thread |  | | | Date | Fri, 9 Jul 2004 14:38:26 -0700 | | From | Qiuyu Zhang <> | | Subject | strange about copy_from_user |
| |
Hi all, I am working on writing a module driver.
I am trying to use API copy_from_user to copy a bunch of memory from user space to kernel space. I write a ioctl function to register the pointer of the memory to kernel. And in the ioctl function I can use copy_from_user to get the correct data, but the strange thing is that when I use copy_from_user in other kernel function such as dev_hard_xmit function , I cannot get the correct result. I don't konw what the reason is . Thx. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |