2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 05:47:55 +00:00

ofproto: Destroy rule in ofproto_get_vlan_usage().

Found by inspection.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
This commit is contained in:
Ethan Jackson 2014-05-23 11:16:35 -07:00 committed by Ben Pfaff
parent 80771642ad
commit 059ef3c65f

View File

@ -6999,6 +6999,8 @@ ofproto_get_vlan_usage(struct ofproto *ofproto, unsigned long int *vlan_bitmap)
}
fat_rwlock_unlock(&oftable->cls.rwlock);
}
cls_rule_destroy(&target);
}
/* Returns true if new VLANs have come into use by the flow table since the