Summary: | ASTERISK-07385: [patch] zaptel kernel module depends on 2.6 module functions | ||
Reporter: | Warren Volz (wvolz) | Labels: | |
Date Opened: | 2006-07-22 14:08:07 | Date Closed: | 2006-07-26 16:59:13 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20060723__bug7580.diff.txt | |
Description: | Zaptel.c is using try_module_get and module_put in build for both 2.6 and 2.4, these functions do not exist on 2.4 kernels. I have a version that builds without these, but I'm not familiar enough with the macros MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT to know if I've done things correctly. | ||
Comments: | By: Serge Vecher (serge-v) 2006-07-24 09:41:06 wvolts: please test the attached patch and report back if it fixes the issue for you. Thanks. By: Warren Volz (wvolz) 2006-07-25 00:05:43 This patch works for me. Sorry for the delayed response. By: Tilghman Lesher (tilghman) 2006-07-26 16:59:13 Fixed in trunk. |