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

dev at openvswitch.org dev at openvswitch.org
Sat Dec 10 04:48:23 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, branch-1.4 has been updated
       via  f0c6a3bac90269560182969c05840af795e51991 (commit)
      from  9d98d5a9e4f5f2aaa32205422df35e5203baa6a9 (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 f0c6a3bac90269560182969c05840af795e51991
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f0c6a3bac90269560182969c05840af795e51991
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