[ovs-dev] [PATCH v2] ofproto: Use shash_find_and_delete() in ofport_destroy__().

Ben Pfaff blp at ovn.org
Fri Jun 2 04:17:04 UTC 2017


On Thu, Jun 01, 2017 at 04:56:42PM -0700, Justin Pettit wrote:
> 
> > On May 26, 2017, at 10:53 PM, Ben Pfaff <blp at ovn.org> wrote:
> > 
> > This is shorter and slightly safer than combining calls to shash_find()
> > and shash_delete().
> > 
> > Found by Coverity.
> > 
> > Reported-at: https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762983&defectInstanceId=4305289&mergedDefectId=179850
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> 
> Acked-by: Justin Pettit <jpettit at ovn.org>

Thanks, applied to master.


More information about the dev mailing list