[ovs-dev] [PATCH] datapath: Don't dereference potentially NULL vport in patch ports.

Ben Pfaff blp at nicira.com
Wed Feb 1 00:06:38 UTC 2012


On Tue, Jan 31, 2012 at 02:42:17PM -0800, Jesse Gross wrote:
> 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>



More information about the dev mailing list