From patchwork Mon Oct 24 10:05:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Gu X-Patchwork-Id: 1693978 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mx1Mc4FsZz23l7 for ; Tue, 25 Oct 2022 03:52:28 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id CDD32405C6; Mon, 24 Oct 2022 16:52:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org CDD32405C6 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zs_nNgU6Jmhu; Mon, 24 Oct 2022 16:52:25 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 19BF840138; Mon, 24 Oct 2022 16:52:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 19BF840138 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id CDAD7C0033; Mon, 24 Oct 2022 16:52:23 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0621EC002D for ; Mon, 24 Oct 2022 10:12:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D3D0960B28 for ; Mon, 24 Oct 2022 10:12:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D3D0960B28 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yMaFHps1HL2v for ; Mon, 24 Oct 2022 10:12:08 +0000 (UTC) X-Greylist: delayed 00:06:26 by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 9F26260B16 Received: from us-smtp-delivery-44.mimecast.com (us-smtp-delivery-44.mimecast.com [205.139.111.44]) by smtp3.osuosl.org (Postfix) with ESMTPS id 9F26260B16 for ; Mon, 24 Oct 2022 10:12:07 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-32-gkHsdGvuNL2qzvBxmynUeg-1; Mon, 24 Oct 2022 06:05:36 -0400 X-MC-Unique: gkHsdGvuNL2qzvBxmynUeg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 118AB299E756; Mon, 24 Oct 2022 10:05:36 +0000 (UTC) Received: from dceara.remote.csb (unknown [10.39.195.54]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1917049BB60; Mon, 24 Oct 2022 10:05:34 +0000 (UTC) From: Jun Gu To: ovs-dev@openvswitch.org Date: Mon, 24 Oct 2022 12:05:20 +0200 Message-Id: <20221024100520.762929-1-jun.gu@easystack.cn> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: easystack.cn X-Mailman-Approved-At: Mon, 24 Oct 2022 16:52:22 +0000 Cc: "jun.gu" Subject: [ovs-dev] [PATCH ovn] ovn: Remove SBREC_TABLE_HA_CHASSIS ctl_table X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" From: "jun.gu" Fix bug that ovn-sbctl daemon process exit when list non-existed ha_chassis. Submitted-at: https://github.com/ovn-org/ovn/pull/151 Signed-off-by: Jun Gu --- utilities/ovn-sbctl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/utilities/ovn-sbctl.c b/utilities/ovn-sbctl.c index e35556d34a..f60dde1b67 100644 --- a/utilities/ovn-sbctl.c +++ b/utilities/ovn-sbctl.c @@ -1431,9 +1431,6 @@ static const struct ctl_table_class tables[SBREC_N_TABLES] = { [SBREC_TABLE_HA_CHASSIS_GROUP].row_ids[0] = {&sbrec_ha_chassis_group_col_name, NULL, NULL}, - [SBREC_TABLE_HA_CHASSIS].row_ids[0] - = {&sbrec_ha_chassis_col_chassis, NULL, NULL}, - [SBREC_TABLE_METER].row_ids[0] = {&sbrec_meter_col_name, NULL, NULL},