Re: poll problem with PF_PACKET when using PACKET_RX_RING

2006-10-15 Thread Joan Raventos
Hi Patrick, Thx for your prompt reply! Plz see some comments inline. >> >> Is this a bug in PF_PACKET? Should the socket queue be >> emptied by packet_set_ring (called via setsockopt when >> PACKET_RX_RING is used) so the above cannot happen? >> Should the user-space app drain the socket queue w

Re: poll problem with PF_PACKET when using PACKET_RX_RING

2006-10-16 Thread Joan Raventos
Is this a bug in PF_PACKET? Should the socket queue be emptied by packet_set_ring (called via setsockopt when PACKET_RX_RING is used) so the above cannot happen? Should the user-space app drain the socket queue with recvfrom prior to (4) -quite unlikely in practice-? >> >> >>>I