[asterisk-bugs] [Zaptel 0010601]: Function zt_register should get a Linux 2.6 module and zt_unregister put

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Aug 31 22:59:10 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10601 
====================================================================== 
Reported By:                Matti
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10601
Category:                   zaptel (the module)
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Zaptel Version:              SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 2810 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-30-2007 00:40 CDT
Last Modified:              08-31-2007 22:59 CDT
====================================================================== 
Summary:                    Function zt_register should get a Linux 2.6 module
and zt_unregister put
Description: 
Function zt_register should get a and function zt_unregister put a Linux
2.6 module. Module zaptel can call functions of registered modules and it
would be cleaner if zaptel itself took care of the modules not unloading
and leaving stale function pointers.
====================================================================== 

---------------------------------------------------------------------- 
 Matti - 08-31-07 22:59  
---------------------------------------------------------------------- 
If a module registered with zaptel does not get itself, Asterisk processes
can crash at least in Asterisk 1.2 if the module is removed.

"Golden Rule: If you are calling though a function pointer into a
(different) module, you must hold a reference to that module."
http://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/FAQ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-31-07 22:59  Matti          Note Added: 0069812                          
======================================================================




More information about the asterisk-bugs mailing list