bridge: Avoid memory leak from RSPAN mirrors in bridge_destroy().
authorBen Pfaff <blp@nicira.com>
Mon, 11 Apr 2011 18:22:39 +0000 (11:22 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 21:32:00 +0000 (14:32 -0700)
commit4896c8a0d7e7f6edd1995b81f0f9868ac953a485
tree37aa2df8d16ab2a47e347da33b5de3e1eef567c0
parent43c5c3bcb0de449f2489cb826020752f1162c0be
bridge: Avoid memory leak from RSPAN mirrors in bridge_destroy().

Mirrors that output to ports will be destroyed when their output ports are
destroyed, but mirrors that output to VLANs ("RSPAN" mirrors) don't get
automatically destroyed like this and we need to take care of them in a
separate loop.
vswitchd/bridge.c