[ovs-dev] [PATCH v3 1/8] ovn-trace: Fix selection of table that "next" jumps to.

Mickey Spiegel mickeys.dev at gmail.com
Sat Jan 21 20:17:42 UTC 2017


On Sat, Jan 21, 2017 at 11:13 AM, Ben Pfaff <blp at ovn.org> wrote:

> The common case is that "next" advances to the next table, but it can
> jump to any table.
>
> Reported-by: Mickey Spiegel <mickeys.dev at gmail.com>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
>

Acked-by: Mickey Spiegel <mickeys.dev at gmail.com>


> ---
>  ovn/utilities/ovn-trace.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ovn/utilities/ovn-trace.c b/ovn/utilities/ovn-trace.c
> index 9487b1f..c15ea0b 100644
> --- a/ovn/utilities/ovn-trace.c
> +++ b/ovn/utilities/ovn-trace.c
> @@ -1,5 +1,5 @@
>  /*
> - * Copyright (c) 2016 Nicira, Inc.
> + * Copyright (c) 2016, 2017 Nicira, Inc.
>   *
>   * Licensed under the Apache License, Version 2.0 (the "License");
>   * you may not use this file except in compliance with the License.
> @@ -1376,7 +1376,7 @@ trace_actions(const struct ovnact *ovnacts, size_t
> ovnacts_len,
>              break;
>
>          case OVNACT_NEXT:
> -            trace__(dp, uflow, table_id + 1, pipeline, super);
> +            trace__(dp, uflow, ovnact_get_NEXT(a)->ltable, pipeline,
> super);
>              break;
>
>          case OVNACT_LOAD:
> --
> 2.10.2
>
>


More information about the dev mailing list