Update of /export/home/ntop/PF_RING/userland/libpcap-0.9.4-ring
In directory unknown:/tmp/cvs-serv11346
Modified Files:
pcap-linux.c
Log Message:
Changes from Amit D. Chaudhary:
Changelog:
1. Check for break_loop before calling poll or reading packet. This is a
race condition fix. pcap + ring will hang when using pcap_loop() and using
pcap_breakloop() and the code was reading a packet. poll is anyways
called after it with -1 as timeout.
2. Change poll timeout to be POLL_SLEEP_MIN instead of -1 (infinite)
Thanks, Amit!!!
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev