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

Jesse Gross jesse at nicira.com
Wed Feb 1 00:09:28 UTC 2012


On Tue, Jan 31, 2012 at 4:06 PM, Ben Pfaff <blp at nicira.com> wrote:
> 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>

Thanks, pushed.



More information about the dev mailing list