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>
Wed, 20 Apr 2011 17:41:23 +0000 (10:41 -0700)
commitf76e2dfc8a1dd2581629a0a23c40cc43a77485d3
treee610cefcccb0f735db096ae1058addcf49cd5948
parent9019cbdfe19b82cd0b212e64205913f62777e4f9
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