在 2019/8/26 16:38, Pablo Neira Ayuso 写道: > On Mon, Aug 19, 2019 at 09:22:32PM +0800, wenxu@xxxxxxxxx wrote: >> From: wenxu <wenxu@xxxxxxxxx> >> >> The flow_block_ing_cmd() needs to call blocking functions while iterating >> block_ing_cb_list, nft_indr_block_get_and_ing_cmd is in the cb_list, >> So it is the incorrect rcu case. To fix it just traverse the list under >> the commit mutex. > The flow_indr_block_call() is called from a path that already holds > this lock. The flow_indr_block_call already hodls this lock. But the flow_block_ing_cmd is not called by flow_indr_block_call. It is called by offloaded driver with unregister event for indr_dev. >