skb buffers free while working with PF_PACKET socket
Hello,
The problem is found, it was a driver issue. I have a question regarding freeing of skb buffers while forwarding packet from kernel driver via network device to user space process (hostapd) which receives packets by waiting on PF_PACKET RAW socket. The packet L2 header is like Ethernet header but with proprietary protocol type. The user space application successfully receives the packet but skb is not freed. I can track it via vmstat - slab size is increasing while packets are periodically sent from driver via network interface. I suggest skb is to be freed eventually by Linux Networking as there are no other recipients for the skb. Ethernet header is filled as: dst = network interface MAC adr src = tranmitter src MAC adr type = proprietary Linux version: 2.6.29 Any suggestion how to cause the system to free skb-s? Where do you advice to put some logs in the stack to trace packet to understand why it is not to get freeing? Igor |
Moved: This thread is more suitable in Linux-Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Please don't edit your original posts (or request they be removed) without also posting a reply to explain what is going on.
|
All times are GMT -5. The time now is 08:25 PM. |