[Debian-ha-maintainers] Bug#701914: send_arp leaks socket fds, dies when all FDs consumed.

Tim Small tim at seoss.co.uk
Thu Feb 28 20:35:07 UTC 2013


Package: cluster-agents
Severity: normal
Tags: patch

Attached patch is an easy fix for this.

Possibly the other proposed fix would be better tho?


-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
--- cluster-agents-1.0.3/tools/send_arp.libnet.c	2010-04-14 11:57:20.000000000 +0000
+++ cluster-agents-1.0.3.new/tools/send_arp.libnet.c	2013-02-28 20:05:49.335851559 +0000
@@ -344,6 +344,8 @@
 
 	memcpy(mac, mac_address->ether_addr_octet, 6);
 
+	libnet_destroy(ln);
+
 	return 0;
 }
 #endif


More information about the Debian-ha-maintainers mailing list