Hi,
In either case, I guess I will not use kfifo. It involves an extra copy since I cannot call copy_to_user directly :(
You can still use kfifo with user space buffers. Just before passing a user space pointer use access_ok function. Look at the implementation of copy_from_user and copy_to_user -pgssgp -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ