Hello, There is something which sheds a light on this problem: I found (after a lot of search) in this link an example of a kernel module implementing udp receive socket: http://ezs.kr.hsnr.de/TreiberBuch/Artikel/index.html see: udprcv.c It is very similar to my module code. This code compiles and runs OK on FC8. I can insmod the module and rmmod it; it creates a UDP socket as expected. However, when I try with F10, (kernel 2.6.25-14), I get an error about kill_proc (error: implicit declaration of function ‘kill_proc’). The kill_proc does not exist in F10 kernel. So I tried replacing it with kill_pid , thus: kill_pid(com_thread_pid, SIGTERM, 0); However, when doing so, it **did** compiled and I **could** insmod the module successfully. However, when trying "rmmod" on the module, I got a null pointer dereference in the kernel log and the module was not unloaded (lsmod shows it). Moreover, netstat showed that the socket was ***not*** closed. So I would appreciate if anybody can look at it and solve the mystery : why does it not run successfully (in fact, rmmod successfully) in f10? should anything else be added so it will be possible to unload the module? ///// the exception I see in the kernel is : Apr 28 16:30:13 localhost kernel: Unable to handle kernel NULL pointer dereference at 0000000000000be3 RIP: Apr 28 16:30:13 localhost kernel: [<ffffffff81046870>] pid_task+0x7/0x25 Apr 28 16:30:13 localhost kernel: PGD 9970b067 PUD 994f6067 PMD 0 Apr 28 16:30:13 localhost kernel: Oops: 0000 [1] SMP Apr 28 16:30:13 localhost kernel: CPU 0 Best regards, Mark -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ