How do I copy best a data structure which contains two or more linked list heads (a la linux/list.h) plus
some other fields to kernelland?
Obviously a simple copy_from_user(new_struct, (struct my_struct*) data, sizeof(struct my_struct)).. does
not work.
Thanks for your help, jonathan heusser
-- Key fingerprint = 2A55 EB7C B7EA 6336 7767 4A47 910A 307B 1333 BD6C
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/