bridge: Simplify VLAN splinter memory management.
authorEthan Jackson <ethan@nicira.com>
Tue, 22 May 2012 23:16:08 +0000 (16:16 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 14 Jun 2012 20:25:37 +0000 (13:25 -0700)
commit37344ffa58cdc6c057ef06c6822528c8fe08bb93
tree5829a1a9b5f7bdf5b60c3b5568d47b873adaf7d5
parent71edb750fe3870d4663105bc364f05e02a3bf1eb
bridge: Simplify VLAN splinter memory management.

Before this patch, the VLAN splinter memory management operated on
blocks of memory instead of ovsrec_ports.  This strategy is
problematic in future patches when more than simply calling
'free()' needs to be done to destroy splinter ports.  This patch
solves the problem by keeping track of entire ovsrec_ports instead
of just the memory allocated to create them.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
vswitchd/bridge.c