[ovs-git] Open vSwitch: bridge: Avoid use-after-free with VLAN splinters and multiple bridges. (master)

dev at openvswitch.org dev at openvswitch.org
Sat Dec 10 04:47:45 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  7c70698f0134fe1dee756e468a095ddd6366a7d5 (commit)
      from  d60a2b538a2411019e401a0756c8c0aa1f3b6e98 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7c70698f0134fe1dee756e468a095ddd6366a7d5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7c70698f0134fe1dee756e468a095ddd6366a7d5
Author: Ben Pfaff <blp at nicira.com>
		
bridge: Avoid use-after-free with VLAN splinters and multiple bridges.
		
The VLAN splinters feature uses a "pool" to track and free allocated
blocks.  There's only one pool, but the implementation was freeing all of
the blocks in it for every bridge during reconfiguration, not just once for
each reconfiguration, so caused a use-after-free when there was more than
one bridge and a bridge other than the last one in the list of bridges had
a VLAN splinter port.

Bug #8671.
Reported-by: Michael Mao <mmao at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 vswitchd/bridge.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list