[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
Tue Apr 1 10:31:23 CDT 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:                     feedback
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:              04-01-2008 10:31 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 - 04-01-08 10:31  
---------------------------------------------------------------------- 
The patches are a way to avoid Asterisk crashing if some special channels
are open. They do allow hanging rmmod forever under those circumstances. I
think wct4xxp handles removal by try_module_get. My idea was just to move
the try_module_get from all drivers to one location in the zaptel module. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-01-08 10:31  Matti          Note Added: 0084848                          
======================================================================




More information about the asterisk-bugs mailing list