iproute2: tc: fix dynamic symbol table size optimization
authorTony Ambardar <itugrok@yahoo.com>
Tue, 30 Jun 2020 05:04:54 +0000 (22:04 -0700)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 14 Jul 2020 20:00:43 +0000 (22:00 +0200)
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@yahoo.com>
package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch

index f4e33c4511b0ac0309d36886390838d5cbfcfd8d..dbb516f02ebbca20eaea59f8c57b3e5f66b6dbe7 100644 (file)
@@ -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