On 05/19/2015 03:42 PM, Emmanuel Grumbach wrote: > Canonical backported: > > Author: Or Gerlitz <ogerlitz@xxxxxxxxxxxx> > Date: Mon Jan 20 13:59:19 2014 +0200 > > net: Add GRO support for UDP encapsulating protocols > > This is commit 2da204a8f67fbe25816cbce8cc8551f03d5b951a in their > tree. > Cope with that. > > Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx> > --- > Touch compiled only. And I don't really know how the UTS thing goes :) > --- > backport/backport-include/linux/netdevice.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h > index bb3fefb..61ac95c 100644 > --- a/backport/backport-include/linux/netdevice.h > +++ b/backport/backport-include/linux/netdevice.h > @@ -81,6 +81,7 @@ static inline void dev_consume_skb_any(struct sk_buff *skb) > dev_kfree_skb_any(skb); > } > > +#if (LINUX_VERSION_CODE == KERNEL_VERSION(3,13,11) && UTS_UBUNTU_RELEASE_ABI < 24) > struct pcpu_sw_netstats { > u64 rx_packets; > u64 rx_bytes; > @@ -88,6 +89,7 @@ struct pcpu_sw_netstats { > u64 tx_bytes; > struct u64_stats_sync syncp; > }; > +#endif > > #define netdev_tstats(dev) ((struct pcpu_sw_netstats *)dev->ml_priv) > #define netdev_assign_tstats(dev, e) dev->ml_priv = (e); > Thank you for the patch, it was applied and pushed. I changed it into this: +#if (LINUX_VERSION_CODE != KERNEL_VERSION(3,13,11) || UTS_UBUNTU_RELEASE_ABI < 24) ... #endif Hauke -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html