net: sched: set the hw_stats_type in pedit loop
authorJiri Pirko <jiri@mellanox.com>
Mon, 16 Mar 2020 08:03:25 +0000 (09:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2020 09:13:43 +0000 (02:13 -0700)
commit74522e7baae2561870ea8ddf09dc6a126458cd7b
tree1d43dd340e61890191bdb86db456e04a49a4f82c
parent764e55824d0aef055437f7fd5683582a1613aedf
net: sched: set the hw_stats_type in pedit loop

For a single pedit action, multiple offload entries may be used. Set the
hw_stats_type to all of them.

Fixes: 44f865801741 ("sched: act: allow user to specify type of HW stats for a filter")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c