Ok, Update in v2

> -----Original Message-----
> From: Ye, Xiaolong
> Sent: Sunday, September 8, 2019 8:04 PM
> To: Wang, Ying A <[email protected]>
> Cc: Zhang, Qi Z <[email protected]>; Yang, Qiming
> <[email protected]>; [email protected]; Zhao1, Wei <[email protected]>
> Subject: Re: [PATCH 4/4] net/ice: rework switch filter
> 
> On 09/04, Ying Wang wrote:
> [snip]
> >+
> >+static void
> >+ice_free_switch_filter_rule(struct rte_flow *flow) {
> >+    struct ice_rule_query_data *filter_ptr;
> >+
> >+    filter_ptr = (struct ice_rule_query_data *)
> >+            flow->rule;
> >+
> >+    rte_free(filter_ptr);
> 
> What about directly call rte_free(flow->rule); ?

Reply via email to