[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 13 08:57:15 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18422
======================================================================
Reported By: avarvit
Assigned To: sruffell
======================================================================
Project: DAHDI-linux
Issue ID: 18422
Category: dahdi (the module)
Reproducibility: always
Severity: major
Priority: normal
Status: closed
JIRA:
Reviewboard Link:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-12-03 23:21 CST
Last Modified: 2010-12-13 08:57 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.
======================================================================
----------------------------------------------------------------------
(0129577) svnbot (reporter) - 2010-12-13 08:57
https://issues.asterisk.org/view.php?id=18422#c129577
----------------------------------------------------------------------
Repository: dahdi
Revision: 9530
U linux/trunk/drivers/dahdi/dahdi-base.c
------------------------------------------------------------------------
r9530 | sruffell | 2010-12-13 08:57:13 -0600 (Mon, 13 Dec 2010) | 11 lines
dahdi: Do not dereference chan->span for pseudo channels.
Fixes a regression introduced in r9510 which saves a pointer to the ops
member of a channel's span before checking if the channel is a pseudo.
Psuedo channels do not have spans.
(issue https://issues.asterisk.org/view.php?id=18463)
(issue https://issues.asterisk.org/view.php?id=18422)
Reported by: alecdavis
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=9530
Issue History
Date Modified Username Field Change
======================================================================
2010-12-13 08:57 svnbot Checkin
2010-12-13 08:57 svnbot Note Added: 0129577
======================================================================
More information about the asterisk-bugs
mailing list