[asterisk-bugs] [Zaptel 0004920]: [patch] ztdynamic unable to support large numbers of channels

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 10:59:51 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=4920 
====================================================================== 
Reported By:                brettcar
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   4920
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Zaptel Version:             CVS HEAD 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             08-08-2005 09:03 CDT
Last Modified:              06-07-2008 10:59 CDT
====================================================================== 
Summary:                    [patch] ztdynamic unable to support large numbers of
channels
Description: 
The use of kmalloc in allocating z->chans (ztdynamic.c:559) prevents the
allocation of large numbers of channels. This is a major bug because even
96 channels (one 4-span T1 card) cannot be supported. The fix is to replace
kmalloc and kfree calls with vmalloc and vfree. A patch is attached.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 10:59  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 719

U   trunk/ztdynamic.c

------------------------------------------------------------------------
r719 | markster | 2008-06-07 10:59:50 -0500 (Sat, 07 Jun 2008) | 2 lines

Fix ztdynamic to use vmalloc instead of kmalloc (bug
http://bugs.digium.com/view.php?id=4920)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=719 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 10:59  svnbot         Checkin                                      
06-07-08 10:59  svnbot         Note Added: 0088053                          
======================================================================




More information about the asterisk-bugs mailing list