classifier: Tolerate old==new in cls_rule_moved().
authorBen Pfaff <blp@nicira.com>
Thu, 5 Mar 2009 01:16:16 +0000 (17:16 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Mar 2009 01:34:50 +0000 (17:34 -0800)
commite2674cd9f663b5d6ab8fbd5bdce316d46768406f
tree2b93203250b1aa80bb8378628b9957a0b9520350
parent3e64a86106ddc707c3c5717e14291be026376879
classifier: Tolerate old==new in cls_rule_moved().

The primary purpose of cls_rule_moved() is to deal gracefully with memory
blocks that have been realloc()'d.  realloc() can return the original
memory block so it's best to tolerate that instead of assert-failing.
lib/classifier.c