Sending UDP packets from the Linux Kernel
I solved my problem a few months ago. Here’s the solution I used. The standard packet-sending API (sock_create, connect, …) cannot be used in a few contexts (interruptions). Using it in the wrong place leads to a KP. The netpoll API is more “low-level” and works in every context. However, there are several conditions : … Read more