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

2014-08-12 Thread David Miller
From: Christoph Jaeger 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

[ovs-dev] [PATCH] openvswitch: Fix memory leak in ovs_vport_alloc() error path

2014-08-12 Thread Christoph Jaeger
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 --- net/openvswitch/vport.c | 4 +++- 1 file changed, 3 insertions(