From: [email protected]
Date: Wed,  5 Aug 2020 15:19:11 +0800

> From: Tonghao Zhang <[email protected]>
> 
> ovs_flow_tbl_destroy always is called from RCU callback
> or error path. It is no need to check if rcu_read_lock
> or lockdep_ovsl_is_held was held.
> 
> ovs_dp_cmd_fill_info always is called with ovs_mutex,
> So use the rcu_dereference_ovsl instead of rcu_dereference
> in ovs_flow_tbl_masks_cache_size.
> 
> Fixes: 9bf24f594c6a ("net: openvswitch: make masks cache size configurable")
> Cc: Eelco Chaudron <[email protected]>
> Reported-by: [email protected]
> Reported-by: [email protected]
> Signed-off-by: Tonghao Zhang <[email protected]>

Applied, thank you.

Reply via email to