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:
parent
80771642ad
commit
059ef3c65f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user