[ovs-git] Open vSwitch: datapath: Don't dereference potentially NULL vport in patch ports. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Feb 1 00:09:04 UTC 2012


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  c240693fc4d23786ab74bebfde45b44efc8ed39b (commit)
      from  5442edb9e0afb6fdc4cd81e5d1ebd3e0d4e6accf (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 c240693fc4d23786ab74bebfde45b44efc8ed39b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c240693fc4d23786ab74bebfde45b44efc8ed39b
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Don't dereference potentially NULL vport in patch ports.
		
When changing patch ports we need to update any peers pointing to us.
When destroying the port, this means pointing them to a NULL port.
However, the new namespaces code attempted to dereference this port
in order to get the namespace.  The net is already passed in, so we
can just use that instead.

Bug #9477

Reported-by: Michael Hu <mhu at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 datapath/vport-patch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch


More information about the git mailing list