Re: [tcpdump-workers] Linux pcap_stats ignore kernel stats even when

2006-02-22 Thread Guy Harris
Alexander Dupuy wrote: The crux of the problem is that the line with *stats = handle->md.stat; was replaced with stats->ps_recv = handle->md.packets_read; stats->ps_drop = 0; ...rather than being executed, followed by a "return 0;", if we succeed in getting the statistics from

[tcpdump-workers] Linux pcap_stats ignore kernel stats even when they are available

2006-02-22 Thread Alexander Dupuy
[I tried sending this back on February 4 and 6, but there were problems with the list, and I don't believe it ever made it through. My apologies if this is a duplicate.] The recent changes to pcap-linux.c to prevent double-counting of received packets have an unfortunate bug that causes the ke