[BusyBox 0000751]: [patch] udhcp socket leaks
bugs at busybox.net
bugs at busybox.net
Tue Feb 21 04:11:34 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=751
======================================================================
Reported By: pochi
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 751
Category: Networking Support
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 02-20-2006 20:11 PST
Last Modified: 02-20-2006 20:11 PST
======================================================================
Summary: [patch] udhcp socket leaks
Description:
>From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336507 :
"While my ISP was playing up, udhcpc was getting 30 second leases from
the cable modem. Somehow it managed to run out of file descriptors
and /proc/nn/fd showed a large number of sockets. Using strace showed
it was creating a UDP socket, setting SO_REUSEADDR and then attempting
to bind it to a specific IP address. The bind failed and the socket
was never closed. Examining kernel_packet() we can see that if the
bind fails, the socket will remain open. There are a number of
similar cases. See the patch below. -- Neil Turton"
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
02-20-06 20:11 pochi New Issue
02-20-06 20:11 pochi Status new => assigned
02-20-06 20:11 pochi Assigned To => BusyBox
02-20-06 20:11 pochi File Added: udhcp.patch
======================================================================
More information about the busybox-cvs
mailing list