kernel 3.10 compat: RTAX_QUICKACK not added until 3.11.0 (#8094)
authorMilhouseVH <MilhouseVH@users.noreply.github.com>
Mon, 5 Feb 2018 05:26:57 +0000 (05:26 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 Feb 2018 05:26:57 +0000 (14:26 +0900)
src/basic/missing.h

index 1280e6c..9d4d08e 100644 (file)
@@ -1047,6 +1047,10 @@ struct input_mask {
 #define RTA_PREF 20
 #endif
 
+#ifndef RTAX_QUICKACK
+#define RTAX_QUICKACK 15
+#endif
+
 #ifndef IPV6_UNICAST_IF
 #define IPV6_UNICAST_IF 76
 #endif