Applications cannot allocate RX_RING buffer greater than 4 GiB for packet sockets (PF_PACKET).
Issue
- netsniff-ng cannot allocate RX_RING buffer >= 4 GiB.
setsockopt(sock, SOL_PACKET, PACKET_RX_RING ...returns-1 EINVAL (Invalid argument).
Environment
- Red Hat Enterprise Linux 6 ( kernel-2.6.32-696.16.1.el6 and higher).
- Red Hat Enterprise Linux 7.
- PACKET socket interface.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
