datapath: Replace __force type cast with rcu_dereference_raw().
[cascardo/ovs.git] / datapath / datapath.c
index 31db569..e53c5d5 100644 (file)
@@ -1204,7 +1204,7 @@ static int ovs_flow_cmd_del(struct sk_buff *skb, struct genl_info *info)
        ovs_flow_tbl_remove(&dp->table, flow);
        ovs_unlock();
 
-       reply = ovs_flow_cmd_alloc_info((const struct sw_flow_actions __force *)flow->sf_acts,
+       reply = ovs_flow_cmd_alloc_info(rcu_dereference_raw(flow->sf_acts),
                                        info, false);
 
        if (likely(reply)) {