Re: [PATCH] openvswitch: Fix memory leak in ovs_vport_alloc() error path

From: David Miller
Date: Tue Aug 12 2014 - 17:26:42 EST


From: Christoph Jaeger <cj@xxxxxxxxx>
Date: Tue, 12 Aug 2014 09:27:57 +0200

> ovs_vport_alloc() bails out without freeing the memory 'vport' points to.
>
> Picked up by Coverity - CID 1230503.
>
> Fixes: 5cd667b0a4 ("openvswitch: Allow each vport to have an array of 'port_id's.")
> Signed-off-by: Christoph Jaeger <cj@xxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/