[ovs-dev] [PATCH 1/4] datapath: Move table destroy to dp-rcu callback.
Thomas Graf
tgraf at redhat.com
Tue Apr 8 16:13:22 UTC 2014
On 04/08/2014 12:00 AM, Pravin wrote:
> diff --git a/datapath/flow_table.c b/datapath/flow_table.c
> index 159572b..75c1b82 100644
> --- a/datapath/flow_table.c
> +++ b/datapath/flow_table.c
> @@ -259,11 +259,11 @@ skip_flows:
> __table_instance_destroy(ti);
> }
>
> -void ovs_flow_tbl_destroy(struct flow_table *table, bool deferred)
> +void ovs_flow_tbl_destroy(struct flow_table *table)
> {
> - struct table_instance *ti = ovsl_dereference(table->ti);
> + struct table_instance *ti = (struct table_instance __force *)table->ti;
Any way we can avoid the __force? Otherwise it deserves at
least a comment ;-)
More information about the dev
mailing list