tcpdump mailing list archives
Patch to release File Descriptors in pcap-dag.c
From: Florent.Drouin () alcatel-lucent fr
Date: Tue, 30 Jan 2007 13:50:08 +0100
Hello, Here is a patch for the libpcap interface with Endace DAG boards. It should solve the following errors, when you are running Wireshark. << ./wireshark [dag_open] dag_clone dagfd for dagiom: Too many open files [dag_open] dag_clone dagfd for dagiom: Too many open files (lt-wireshark:14111): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)
In fact, during the devices detection, the File Descriptors for unavailable devices are not released. So after 3 or 4 captures, you can not save your data anymore, nor running new captures. The patch is based on libpcap-2007-01-30. Best regards Florent (See attached file: pcap-dag.zip)
Attachment:
pcap-dag.zip
Description:
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Patch to release File Descriptors in pcap-dag.c Florent . Drouin (Jan 30)
- Re: Patch to release File Descriptors in pcap-dag.c Guy Harris (Jan 31)
- Re: Patch to release File Descriptors in pcap-dag.c Florent . Drouin (Feb 01)
- Error in the "strcat" function Adelmo Silva (Feb 01)
- Re: Error in the "strcat" function Jin YunYe (Feb 02)
- Re: Error in the "strcat" function Adelmo Silva (Feb 02)
- Re: Error in the "strcat" function Guy Harris (Feb 02)
- Re: Error in the "strcat" function Adelmo Silva (Feb 03)
- Re: Error in the "strcat" function Guy Harris (Feb 19)
- Re: Patch to release File Descriptors in pcap-dag.c Florent . Drouin (Feb 01)
- Re: Patch to release File Descriptors in pcap-dag.c Guy Harris (Jan 31)
- BPF ADVANCED FILTERS Adelmo Silva (Feb 02)
- Re: BPF ADVANCED FILTERS Richard Bejtlich (Feb 02)