From: Luca Coelho <luciano.coelho@xxxxxxxxx> The patch that changed the netdev destructor code was backported to v4.11.9, so handle that in the backport. Change-Id: I21a64c84d1c46771d9436341537d946e5ae64c1b Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> --- backport/backport-include/linux/netdevice.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h index d22eec2d3113..112bcf2b1c15 100644 --- a/backport/backport-include/linux/netdevice.h +++ b/backport/backport-include/linux/netdevice.h @@ -320,7 +320,8 @@ static inline void netif_trans_update(struct net_device *dev) } #endif -#if LINUX_VERSION_IS_LESS(4,12,0) +#if LINUX_VERSION_IS_LESS(4,12,0) && \ + !LINUX_VERSION_IN_RANGE(4,11,9, 4,12,0) #define netdev_set_priv_destructor(_dev, _destructor) \ (_dev)->destructor = __ ## _destructor #define netdev_set_def_destructor(_dev) \ -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in