]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: util: Don't call NEXT_ARG_FWD() in __parse_action_control()
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 8 Dec 2017 10:18:07 +0000 (11:18 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 8 Dec 2017 18:29:01 +0000 (10:29 -0800)
commit3572e01a090a298e2f4c4f796bad6639b652e031
treedf60962f0fbf01083e07800cd13c9e5ddb171f24
parent00ac78d39c29f74df636346722664fd762a6b0f8
tc: util: Don't call NEXT_ARG_FWD() in __parse_action_control()

Not all callers want parse_action_control*() to advance the
arguments. For instance act_parse_police() does the argument
advancing itself.

Fixes: e67aba559581 ("tc: actions: add helpers to parse and print control actions")
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
14 files changed:
tc/m_bpf.c
tc/m_connmark.c
tc/m_csum.c
tc/m_gact.c
tc/m_ife.c
tc/m_mirred.c
tc/m_nat.c
tc/m_pedit.c
tc/m_sample.c
tc/m_skbedit.c
tc/m_skbmod.c
tc/m_tunnel_key.c
tc/m_vlan.c
tc/tc_util.c