Re: [PATCH net-next] net: sched: always disable bh when taking tcf_lock

2018-08-19 Thread David Miller
From: Vlad Buslov Date: Tue, 14 Aug 2018 21:46:16 +0300 > Recently, ops->init() and ops->dump() of all actions were modified to > always obtain tcf_lock when accessing private action state. Actions that > don't depend on tcf_lock for synchronization with their data path use > non-bh locking API.

[PATCH net-next] net: sched: always disable bh when taking tcf_lock

2018-08-14 Thread Vlad Buslov
Recently, ops->init() and ops->dump() of all actions were modified to always obtain tcf_lock when accessing private action state. Actions that don't depend on tcf_lock for synchronization with their data path use non-bh locking API. However, tcf_lock is also used to protect rate estimator stats in