[PATCH net 0/4] net: qede: avoid overruling error codes

From: Asbjørn Sloth Tønnesen
Date: Fri Apr 26 2024 - 05:13:38 EST


This series fixes the qede driver, so that
qede_parse_flow_attr() and it's subfunctions
doesn't get their error codes overruled
(ie. turning -EOPNOTSUPP into -EINVAL).

---
I have two more patches along the same lines,
but they are not yet causing any issues,
so I have them destined for net-next.
(those are for qede_flow_spec_validate_unused()
and qede_flow_parse_ports().)

After that I have a series for converting to
extack + the final one for validating control
flags.

Asbjørn Sloth Tønnesen (4):
net: qede: sanitize 'rc' in qede_add_tc_flower_fltr()
net: qede: use return from qede_parse_flow_attr() for flower
net: qede: use return from qede_parse_flow_attr() for flow_spec
net: qede: use return from qede_parse_actions()

drivers/net/ethernet/qlogic/qede/qede_filter.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

--
2.43.0