Re: [PATCH net-next 1/9] sched: add helper for updating statistics on all actions

2017-06-01 Thread Or Gerlitz
On Wed, May 31, 2017 at 6:06 PM, Jakub Kicinski wrote: > Forgetting to disable preemption around tcf_action_stats_update() > seems to be a common mistake. Add a helper function for updating > stats on all actions of a filter. > > Signed-off-by: Jakub Kicinski

[PATCH net-next 1/9] sched: add helper for updating statistics on all actions

2017-05-31 Thread Jakub Kicinski
Forgetting to disable preemption around tcf_action_stats_update() seems to be a common mistake. Add a helper function for updating stats on all actions of a filter. Signed-off-by: Jakub Kicinski --- CC: Jiri Pirko CC: Jamal Hadi Salim