Hello everyone.

I create a module that send a UPD segment using socket RAW, but my problem is read the UDP segment from kernel space.

I can read the UDP segment from user space, but when I prove to use "sock_recvmsg" from kernel space, I obtain as result -512

Please, help me!