summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2020-04-05 09:50:21 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-06 20:14:00 +0300
commit0be0ae144109a43266631b94adef5c806c56a4b1 (patch)
tree9239ebe81c13285a880eded4dc1c0392d70ffbd3 /tools
parent95099c569a9fdbe186a27447dfa8a5a0562d4b7f (diff)
downloadlinux-0be0ae144109a43266631b94adef5c806c56a4b1.tar.xz
mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_PRIORITY
The handler for FLOW_ACTION_PRIORITY ends by returning whatever the lower-level function that it calls returns. If there are more actions lined up after this action, those are never offloaded. Fix by only bailing out when the called function returns an error. Fixes: 463957e3fbab ("mlxsw: spectrum_flower: Offload FLOW_ACTION_PRIORITY") Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions