tag: Be more precise about choosing tags to add, in tag_set_add().
authorBen Pfaff <blp@nicira.com>
Fri, 6 Aug 2010 18:42:07 +0000 (11:42 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Aug 2010 19:59:48 +0000 (12:59 -0700)
commitd12f7113b047455d410cb54862f339717d4c932f
tree710773a9a64773361f1c06413f9536c5086562b0
parentc393047875e2c9dc76b2f19092fff6bbf69ec4f9
tag: Be more precise about choosing tags to add, in tag_set_add().

It is not necessary to add a "tag" if all of the bits in it are already
present in some member of the set.  This commit adds that optimization.
lib/tag.c