]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ea0d4704a11b68918a3bf46d10f1c9c03a7ed32
treee856804720b84dc27c49eb0acab4d5abfdacc616
parentc10aea3f171ba5adc53ae311c8cbbb644b0ee7ef
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