From patchwork Fri Sep 9 12:38:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gurucharan Shetty X-Patchwork-Id: 668311 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3sWByH6yRXz9srY for ; Sat, 10 Sep 2016 08:41:25 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 9F98B1088F; Fri, 9 Sep 2016 15:41:23 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 1DE4810881 for ; Fri, 9 Sep 2016 15:41:22 -0700 (PDT) Received: from bar6.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 5EB90162424 for ; Fri, 9 Sep 2016 16:41:21 -0600 (MDT) X-ASG-Debug-ID: 1473460881-0b3237334432610001-byXFYA Received: from mx3-pf2.cudamail.com ([192.168.14.1]) by bar6.cudamail.com with ESMTP id iKUduBk0CDlGbd5m (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 09 Sep 2016 16:41:21 -0600 (MDT) X-Barracuda-Envelope-From: guru.ovn@gmail.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.1 Received: from unknown (HELO mail-pa0-f66.google.com) (209.85.220.66) by mx3-pf2.cudamail.com with ESMTPS (AES128-SHA encrypted); 9 Sep 2016 22:41:20 -0000 Received-SPF: pass (mx3-pf2.cudamail.com: SPF record at _netblocks.google.com designates 209.85.220.66 as permitted sender) X-Barracuda-Apparent-Source-IP: 209.85.220.66 X-Barracuda-RBL-IP: 209.85.220.66 Received: by mail-pa0-f66.google.com with SMTP id ez1so4369860pab.3 for ; Fri, 09 Sep 2016 15:41:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=Sy4UB1Frz8LzoMWojdYirafA0+BE/bp5CLVoCJ4SzZU=; b=kRk/8CVXwgDB1mWuir0X2faFflIpamKbZsOYPihgN/PcjXea7odQTvk+5sIeK4l2rD ahAYKJVCmHR83TpeHwEA0Rb3TfkaKT4I0aYYSq3vmjWdBBl5jtc5sZHvjnL8/dNaP7tt mgSjd9P9GlncWtzw70hdwvlfl/Bg2UjOc/KzeT5kdaMd8VBHt3LYiIhvDSph/tsETllA +ybAYOUnxi54jY5YUB18YPbUq6mCMRhj6OhrzIm+8B2eAp9x34cproHAVCdxWWVRCfEq nh/pYkKqwUw6tAsKB4jhi7YznYdLS0hrfNV42DkrRf+tkhPz9b3GYgMY9W/55neacudM VOXA== X-Gm-Message-State: AE9vXwMPZfJh50eSuSVBz6q3vTQ9J3qdcL2/C3tMdlmHDnyLXrxQXiHYDP3OLsftgJQLYA== X-Received: by 10.66.182.167 with SMTP id ef7mr11044555pac.128.1473460879771; Fri, 09 Sep 2016 15:41:19 -0700 (PDT) Received: from ubuntu.eng.vmware.com ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id m24sm7545153pfi.34.2016.09.09.15.41.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Sep 2016 15:41:18 -0700 (PDT) X-CudaMail-Envelope-Sender: guru.ovn@gmail.com From: Gurucharan Shetty To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-V2-908048211 X-CudaMail-DTE: 090916 X-CudaMail-Originating-IP: 209.85.220.66 Date: Fri, 9 Sep 2016 05:38:16 -0700 X-ASG-Orig-Subj: [##CM-V2-908048211##][PATCH] ofctrl: Fix logic for mff_ovn_geneve. Message-Id: <1473424696-25411-1-git-send-email-guru@ovn.org> X-Mailer: git-send-email 1.9.1 X-Barracuda-Connect: UNKNOWN[192.168.14.1] X-Barracuda-Start-Time: 1473460881 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Subject: [ovs-dev] [PATCH] ofctrl: Fix logic for mff_ovn_geneve. X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Fixes: 7fa39c6b9376e99 ("Fix memory leak in recv_S_TLV_TABLE_REQUESTED().") Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff Acked-by: Flavio Fernandes --- ovn/controller/ofctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovn/controller/ofctrl.c b/ovn/controller/ofctrl.c index fe72d79..6ea593b 100644 --- a/ovn/controller/ofctrl.c +++ b/ovn/controller/ofctrl.c @@ -220,7 +220,7 @@ process_tlv_table_reply(const struct ofputil_tlv_table_reply *reply) } else { mff_ovn_geneve = MFF_TUN_METADATA0 + map->index; state = S_CLEAR_FLOWS; - return false; + return true; } }