Using dev_queue_xmit causes a system halt problem.
From: Lawrence Lee <hidden>
Date: 2013-06-03 20:05:05
From: Lawrence Lee <hidden>
Date: 2013-06-03 20:05:05
Hi all, I use netfilter to hook packets at the NF_INET_LOCAL_OUT hook and send the packets using dev_queue_xmit(). My module can successfully sends packets. Unfortunately, the system always halts when my module is installed. It seems that using dev_queue_xmit() causes an issue of a deadlock. The problem is same when I use ndo_start_xmit() to send packets. However, I am not sure what the exact problem is. May I know how I can fix this problem. Thank you! Best, Lawrence