[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230227182256.275816-1-pctammela@mojatatu.com>
Date: Mon, 27 Feb 2023 15:22:54 -0300
From: Pedro Tammela <pctammela@...atatu.com>
To: netdev@...r.kernel.org
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, amir@...ai.me, dcaratti@...hat.com,
willemb@...gle.com, ozsh@...dia.com, paulb@...dia.com,
Pedro Tammela <pctammela@...atatu.com>
Subject: [PATCH net v2 0/3] net/sched: fix action bind logic
Some actions are not handling the case where an action can be created and bound to a
filter independently. These actions are checking for parameters only passed
in the netlink message for create/change/replace, which then errors out
for valid uses like:
tc filter ... action pedit index 1
In the iproute2 side, we saw a couple of actions with their parsers
broken when passing "index 1" as the only action argument, while the kernel
side accepted it correctly. We fixed those as well.
v1->v2:
- Missed clean up pointed out by Simon
Pedro Tammela (3):
net/sched: act_pedit: fix action bind logic
net/sched: act_mpls: fix action bind logic
net/sched: act_sample: fix action bind logic
net/sched/act_mpls.c | 66 +++++++++++++++++++++++-------------------
net/sched/act_pedit.c | 58 ++++++++++++++++++++-----------------
net/sched/act_sample.c | 11 +++++--
3 files changed, 77 insertions(+), 58 deletions(-)
--
2.34.1
Powered by blists - more mailing lists