Linux Netfilter discussions
 help / color / mirror / Atom feed
* poll() call gives POLLERR, then hangs
@ 2009-03-26 12:02 Ingmar Schuster
       [not found] ` <49D1C32F.9020309@netfilter.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ingmar Schuster @ 2009-03-26 12:02 UTC (permalink / raw)
  To: netfilter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-31 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 12:02 poll() call gives POLLERR, then hangs Ingmar Schuster
     [not found] ` <49D1C32F.9020309@netfilter.org>
2009-03-31 10:32   ` Ingmar Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox