ovs_mutex_unlock(&rule->stats_mutex);
}
-static void
-rule_dpif_execute(struct rule_dpif *rule, const struct flow *flow,
- struct dp_packet *packet)
-{
- struct ofproto_dpif *ofproto = ofproto_dpif_cast(rule->up.ofproto);
-
- ofproto_dpif_execute_actions(ofproto, flow, rule, NULL, 0, packet);
-}
-
-static enum ofperr
-rule_execute(struct rule *rule, const struct flow *flow,
- struct dp_packet *packet)
-{
- rule_dpif_execute(rule_dpif_cast(rule), flow, packet);
- dp_packet_delete(packet);
- return 0;
-}
-
static struct group_dpif *group_dpif_cast(const struct ofgroup *group)
{
return group ? CONTAINER_OF(group, struct group_dpif, up) : NULL;
int error;
fm = (struct ofputil_flow_mod) {
+ .buffer_id = UINT32_MAX,
.match = *match,
.priority = priority,
.table_id = TBL_INTERNAL,
int error;
fm = (struct ofputil_flow_mod) {
+ .buffer_id = UINT32_MAX,
.match = *match,
.priority = priority,
.table_id = TBL_INTERNAL,
rule_destruct,
rule_dealloc,
rule_get_stats,
- rule_execute,
set_frag_handling,
packet_out,
nxt_resume,