[ovs-dev] [PATCH] ofproto: Add support for NXAST_RESUBMIT recursion.

Justin Pettit jpettit at nicira.com
Thu Aug 12 21:59:05 UTC 2010

On Aug 12, 2010, at 2:26 PM, Ben Pfaff wrote:

> @@ -2474,7 +2478,7 @@ lookup_valid_rule(struct ofproto *ofproto, const flow_t *flow)
> static void
> xlate_table_action(struct action_xlate_ctx *ctx, uint16_t in_port)
> {
> -    if (!ctx->recurse) {
> +    if (ctx->recurse < MAX_RESUBMIT_RECURSION) {
>         uint16_t old_in_port;
>         struct rule *rule;

Do you think we should print some sort of rate-limited log message or at least increment a counter?  This is a great check to have, but I'm afraid that it could lead to "mysterious" loss of packets from a controller writer's perspective.


More information about the dev mailing list