For a project, I\'m trying to send UDP packets from Linux kernel-space. I\'m currently \'hard-coding\' my code into the kernel (which I appreciate isn\'t the best/neatest wa
I think you should try to put all variables outside mymethod() function and make them static. Remember, that the size of kernel stack is limited do 8KiB, so to much of/too big local variables may cause stack overflow and system hangup.