[BusyBox 0000751]: [patch] udhcp socket leaks

bugs at busybox.net bugs at busybox.net
Wed Feb 22 02:10:54 UTC 2006


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-20-2006 20:11 PST
Last Modified:              02-21-2006 18:10 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"
====================================================================== 

---------------------------------------------------------------------- 
 landley - 02-21-06 18:10  
---------------------------------------------------------------------- 
svn 14178 

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                      
02-21-06 18:10  landley        Status                   assigned => closed  
02-21-06 18:10  landley        Note Added: 0001143                          
======================================================================




More information about the busybox-cvs mailing list