[asterisk-bugs] [JIRA] (DAHLIN-382) Broken build for Linux ≥ 4.7 with netdev support enabled

Alexei A Smekalkine (JIRA) noreply at issues.asterisk.org
Sun Aug 30 12:56:43 CDT 2020


    [ https://issues.asterisk.org/jira/browse/DAHLIN-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251856#comment-251856 ] 

Alexei A Smekalkine commented on DAHLIN-382:
--------------------------------------------

# Use case #1: Linux < 4.7: nothing really chaged.
# Use case #2: Linux ≥ 4.7: used new netif_trans_update helper.

> Broken build for Linux ≥ 4.7 with netdev support enabled
> --------------------------------------------------------
>
>                 Key: DAHLIN-382
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-382
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: dahdi (the module)
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Alexei A Smekalkine
>            Assignee: Keith Morgan
>              Labels: patch
>         Attachments: 0001-dahdi-base-fix-build-with-Linux-4.7-and-netdev-suppo.patch
>
>
> Transaction start time field removed from net_device structure in Linux 4.7 (commit 9b36627acecd5792e81daf1a3bff8eab39ed45fb).
> To fix this use netif_trans_update helper from <linux/netdevice.h>.
> P.S. [The attached patch|^0001-dahdi-base-fix-build-with-Linux-4.7-and-netdev-suppo.patch] has beed tested on real hardware and used in production for more then two years.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list