[ovs-dev] [PATCH v3 1/8] ovn-trace: Fix selection of table that "next" jumps to.
Ben Pfaff
blp at ovn.org
Sat Jan 21 19:13:18 UTC 2017
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>
---
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