poll() call gives POLLERR, then hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

in a userspace firewall (using libnetfilter_queue-0.0.17, libnfnetlink-0.0.41) I'm writing some strange behavior appeared when testing with tcpreplay. Starting tcpreplay on another computer to replay packets onto the firewall, the packets are received in userspace at first. After a while the poll() call sets POLLERR in revents, and after a while calls to poll() just wont return to the calling function. More exactly, it is __kernel_vsyscall() that doesn't return. Starting netcat in parallel to tcpreplay makes poll() on the firewall return.

Does anybody have an idea what's causing this?

Thanks
Ingmar
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux