summaryrefslogtreecommitdiff
path: root/lib/classifier.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-06-11 11:07:43 -0700
committerJarno Rajahalme <jrajahalme@nicira.com>2014-06-11 11:09:51 -0700
commit4218154023f6cdf3b327162de5439835af6a248e (patch)
tree3145334c109c7d989df3fc84b99908f67eca7e72 /lib/classifier.c
parentbfe9aad7f9f62d51e0c39e9eb6a56c265ad44b0d (diff)
downloadopenvswitch-4218154023f6cdf3b327162de5439835af6a248e.tar.gz
lib/classifier: Fix incorrect pointer type.
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@nicira.com>
Diffstat (limited to 'lib/classifier.c')
-rw-r--r--lib/classifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classifier.c b/lib/classifier.c
index 00d47aced..1e66a83a7 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;