[asterisk-bugs] [DAHDI-linux 0018422]: [patch] dahdi-base locks channel-exporting module in kernel if channel open fails

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 6 11:13:26 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18422 
====================================================================== 
Reported By:                avarvit
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   18422
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-12-03 23:21 CST
Last Modified:              2010-12-06 11:13 CST
====================================================================== 
Summary:                    [patch] dahdi-base locks channel-exporting module in
kernel if channel open fails
Description: 
If chan->span->ops->open() fails, then DAHDI_FLAGBIT_OPEN never
gets set and module_put is never called on the exporter module.


====================================================================== 

---------------------------------------------------------------------- 
 (0129331) sruffell (administrator) - 2010-12-06 11:13
 https://issues.asterisk.org/view.php?id=18422#c129331 
---------------------------------------------------------------------- 
avarvit: I've attached a potential patch against the current trunk.  Mind
if I put your real name / email address in it?  

Actually, I just checked and it looks like your license has been approved.
 So you could upload your patch with the "Upload File" button.  

Not required, but if you use git to make your patch, then I can use
(mostly) your commit message.

But if you don't want to fool with it, I'll commit the patch that I just
attached. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-06 11:13 sruffell       Note Added: 0129331                          
======================================================================




More information about the asterisk-bugs mailing list