[openwrt/openwrt] iproute2: tc: fix dynamic symbol table size optimization

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 14 16:01:15 EDT 2020


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9852104c7111c51a20466ae380d29631db6c01f3

commit 9852104c7111c51a20466ae380d29631db6c01f3
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Mon Jun 29 22:04:54 2020 -0700

    iproute2: tc: fix dynamic symbol table size optimization
    
    Recent iproute2 5.x versions modified the symbols resolved for plugins,
    causing "tc .. action xt .." to fail. Update the list of symbols to fix.
    
    Fixes: b61495409bb3 ("iproute2: tc: reduce size of dynamic symbol table")
    
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch b/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
index f4e33c4511..dbb516f02e 100644
--- a/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
+++ b/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
@@ -39,6 +39,6 @@
 +	for s in `grep -B 3 '\<dlsym' $$files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \
 +		sed -n '/'$$s'[^ ]* =/{s:.* \([^ ]*'$$s'[^ ]*\) .*:\1;:;p}' $$files ; \
 +	done >> $@ ; \
-+	echo "show_stats; print_tm; parse_rtattr; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> $@
++	echo "show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> $@
 +
  endif



More information about the lede-commits mailing list