From: Christoph Jaeger Date: Tue, 12 Aug 2014 07:27:57 +0000 (+0200) Subject: openvswitch: Fix memory leak in ovs_vport_alloc() error path X-Git-Tag: omap-for-v3.17/fixes-against-rc2~59^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3791b3f6fb74d265c93d493d9bbf29c1e769ceae;p=pandora-kernel.git openvswitch: Fix memory leak in ovs_vport_alloc() error path 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed