aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch
diff options
context:
space:
mode:
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>2019-01-22 19:55:21 +0800
committerHans Dedecker <dedeckeh@gmail.com>2019-01-23 17:55:21 +0100
commit752bd726686d5a6e41269ad1ff108478eab7f1a8 (patch)
tree6fb90ae996158c0b628ee798b870df39b9b817d3 /package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch
parentfe7d965ea95e78905328fe5425c8e90e3bf11e58 (diff)
downloadupstream-752bd726686d5a6e41269ad1ff108478eab7f1a8.tar.gz
upstream-752bd726686d5a6e41269ad1ff108478eab7f1a8.tar.bz2
upstream-752bd726686d5a6e41269ad1ff108478eab7f1a8.zip
iproute2: update to 4.20.0
Update to the latest version of iproute2; see https://lwn.net/Articles/776174/ for a full overview of the changes in 4.20. Remove upstream patch 001-fix-print_0xhex-on-32-bit.patch and 002-tc-fix-xtables-incorrect-usage-of-LDFLAGS.patch Introduce a patch to include <linux/limits.h> for XATTR_SIZE_MAX in tc Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch')
-rw-r--r--package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch b/package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch
new file mode 100644
index 0000000000..6f28a2822d
--- /dev/null
+++ b/package/network/utils/iproute2/patches/001-tc-fix-undefined-XATTR_SIZE_MAX.patch
@@ -0,0 +1,10 @@
+--- a/tc/f_flower.c
++++ b/tc/f_flower.c
+@@ -17,6 +17,7 @@
+ #include <linux/if_arp.h>
+ #include <linux/if_ether.h>
+ #include <linux/ip.h>
++#include <linux/limits.h>
+ #include <linux/tc_act/tc_vlan.h>
+ #include <linux/mpls.h>
+