Otherwise for 3.0, we see:
net/ether.c:23: error: 'ETH_P_TDLS' undeclared here (not in a function)
net/ether.c:24: error: 'ETH_P_AF_IUCV' undeclared here (not in a function)

Signed-off-by: Jiri Slaby <[email protected]>
---
 include/compat.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/compat.h b/include/compat.h
index 0985b8e109fb..2c81d4ba9213 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -832,6 +832,9 @@ struct kvm_get_htab_fd {
 #ifndef ETH_P_PRP
 #define ETH_P_PRP      0x88FB
 #endif
+#ifndef ETH_P_TDLS
+#define ETH_P_TDLS     0x890D
+#endif
 #ifndef ETH_P_QINQ1
 #define ETH_P_QINQ1    0x9100
 #endif
@@ -841,3 +844,6 @@ struct kvm_get_htab_fd {
 #ifndef ETH_P_QINQ3
 #define ETH_P_QINQ3    0x9300
 #endif
+#ifndef ETH_P_AF_IUCV
+#define ETH_P_AF_IUCV  0xFBFB
+#endif
-- 
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to