[asterisk-bugs] [DAHDI-linux 0017857]: [patch] CONFIG_DAHDI_NET compiling error

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 18 03:57:29 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17857 
====================================================================== 
Reported By:                msink
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   17857
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-08-13 08:04 CDT
Last Modified:              2010-08-18 03:57 CDT
====================================================================== 
Summary:                    [patch] CONFIG_DAHDI_NET compiling error
Description: 
dahdi-base.c don't compiles in latest kernel if CONFIG_DAHDI_NET enabled
With this path it compiles and works:

=======
<sruffell: removed the patch pending license>
====================================================================== 

---------------------------------------------------------------------- 
 (0126066) msink (reporter) - 2010-08-18 03:57
 https://issues.asterisk.org/view.php?id=17857#c126066 
---------------------------------------------------------------------- 
Cleaned version of path uploaded.

Really this path fixes 3 independed problems:
1. function hdlc_stats was removed in kernel >= 2.6.26
2. HAVE_NET_DEVICE_OPS in kernel >= 2.6.28
3. unaligned access to ip address

Last problem is critical only on arch's when 32-bit word must be aligned
on 32-bit boundary -- tested on AnalogDevices Blackfin, but should be on
ARM too.
On x86 it is not critical. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-18 03:57 msink          Note Added: 0126066                          
======================================================================




More information about the asterisk-bugs mailing list