[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 13:02:43 CDT 2020


     [ https://issues.asterisk.org/jira/browse/DAHLIN-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei A Smekalkine updated DAHLIN-382:
---------------------------------------

    Description: 
Transaction start time field [removed from net_device structure in Linux 4.7|https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=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 with Linux 4.19.

  was:
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 with Linux 4.19.


> 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|https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=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 with Linux 4.19.



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



More information about the asterisk-bugs mailing list