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: