[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 Jan 25 18:26:31 CST 2008


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:              01-25-2008 18:26 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 kpfleming - 01-25-08 18:26  
---------------------------------------------------------------------- 
I'm a bit confused. Modules already increment and decrement their own
reference counts when channels are opened and closed.

What do you mean by 'leaving stale function pointers'? How could a module
get unloaded and not call zt_unregister() to remove the pointers that point
to it? How are you unloading a module that has a non-zero reference count? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-25-08 18:26  kpfleming      Note Added: 0081202                          
======================================================================




More information about the asterisk-bugs mailing list