dpif_flow_del(struct dpif *dpif, struct odp_flow *flow)
{
check_rw_odp_flow(flow);
+ memset(&flow->stats, 0, sizeof flow->stats);
return do_flow_ioctl(dpif, ODP_FLOW_DEL, flow, "delete flow", true);
}
dpif_flow_query(const struct dpif *dpif, struct odp_flow *flow)
{
check_rw_odp_flow(flow);
+ memset(&flow->stats, 0, sizeof flow->stats);
return do_flow_ioctl(dpif, ODP_FLOW_QUERY, flow, "query flow", true);
}