Hi, I'm doing some kernel network programming. I got a char device driver. Each time a network package is passed through the kernel method dev_queue_xmit(in net/core/dev.c) a method in my driver is invoked. In my method I sometimes want to wait for user data (coming in from a user space process in my write() method). But how can I wait for this data? If I invoke a sleep method, will that not result in that the kernel process sleeps and the system freezes? Maybe I can put the current thread to sleep? / h_e_w_i __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/