flow_offload: Fix flow action infrastructure
Implementation of macro "flow_action_for_each" introduced in commit e3ab786b ("flow_offload: add flow action infrastructure") and used in commit 73867881 ("drivers: net: use flow action infrastructure") iterated the first item twice and did not reach the last one. Fix it. Fixes: e3ab786b ("flow_offload: add flow action infrastructure") Fixes: 73867881 ("drivers: net: use flow action infrastructure") Signed-off-by: Eli Britstein <elibr@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment