[ovs-dev] [PATCH 1/8] lib/classifier: Fix incorrect pointer type.
Jarno Rajahalme
jrajahalme at nicira.com
Mon Jun 9 18:53:48 UTC 2014
This bug did not manifest due to 'hmap_node' being in the same offset
in both struct cls_partition and struct cls_subtable.
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
---
lib/classifier.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/classifier.c b/lib/classifier.c
index 00d47ac..1e66a83 100644
--- a/lib/classifier.c
+++ b/lib/classifier.c
@@ -687,7 +687,7 @@ classifier_destroy(struct classifier *cls_)
{
if (cls_) {
struct cls_classifier *cls = cls_->cls;
- struct cls_subtable *partition, *next_partition;
+ struct cls_partition *partition, *next_partition;
struct cls_subtable *subtable, *next_subtable;
int i;
--
1.7.10.4
More information about the dev
mailing list