flow_offload: use flow_action_for_each in flow_action_mixed_hw_stats_types_check()
authorJiri Pirko <jiri@resnulli.us>
Tue, 10 Mar 2020 10:11:57 +0000 (11:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 22:43:25 +0000 (15:43 -0700)
commit62751b6808ec6bdc7622849815943cbc7377262a
treee856804720b84dc27c49eb0acab4d5abfdacc616
parente442cfc76833e9c97cbc0dd2c6823c09e32cb68e
flow_offload: use flow_action_for_each in flow_action_mixed_hw_stats_types_check()

Instead of manually iterating over entries, use flow_action_for_each
helper. Move the helper and wrap it to fit to 80 cols on the way.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h