blob: b2abfa9676aecf1eb8b21fb4ce1809ba9f31f9ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
GRO_CONSUMED was added in kernel commit 25393d3fc055 ("net: Prepare gro
for packet consuming gro callbacks") in kernel 4.11. Just remove it for
older kernel versions.
--- a/drivers/net/wireless/ath/wil6210/txrx.c
+++ b/drivers/net/wireless/ath/wil6210/txrx.c
@@ -924,7 +924,9 @@ void wil_netif_rx(struct sk_buff *skb, s
[GRO_HELD] = "GRO_HELD",
[GRO_NORMAL] = "GRO_NORMAL",
[GRO_DROP] = "GRO_DROP",
+#if LINUX_VERSION_IS_GEQ(4,11,0)
[GRO_CONSUMED] = "GRO_CONSUMED",
+#endif /* > 4.11 */
};
if (wdev->iftype == NL80211_IFTYPE_STATION) {
|