Message ID | 20240411225922.2473043-4-ihrachys@redhat.com |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Gta4qJg0; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VFwBR4sl7z1yYB for <incoming@patchwork.ozlabs.org>; Fri, 12 Apr 2024 08:59:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E691641F57; Thu, 11 Apr 2024 22:59:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id GGYqwgSA3O22; Thu, 11 Apr 2024 22:59:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.9.56; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A6F8B41F5C Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Gta4qJg0 Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id A6F8B41F5C; Thu, 11 Apr 2024 22:59:39 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7D682C0DCF; Thu, 11 Apr 2024 22:59:39 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 550DDC0037 for <dev@openvswitch.org>; Thu, 11 Apr 2024 22:59:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 364728209A for <dev@openvswitch.org>; Thu, 11 Apr 2024 22:59:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id nUHS0k9v8Wwl for <dev@openvswitch.org>; Thu, 11 Apr 2024 22:59:36 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=ihrachys@redhat.com; receiver=<UNKNOWN> DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org D18B48175D Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org D18B48175D Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Gta4qJg0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp1.osuosl.org (Postfix) with ESMTPS id D18B48175D for <dev@openvswitch.org>; Thu, 11 Apr 2024 22:59:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712876374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n26mXfmfMezinAI1+k/0udJCwsiPjZSszIHhNlKn3WE=; b=Gta4qJg0TzUso7Ad8UIbE8mRcs0in0BzNlV/qtAaUXo5hkG6rvC89mavVc2Vnv6JR2Zd14 pYbRfegO867F19Ek0GMPfs3KbDmmAk9QOZg8B1Zc92R0IY2RhQ60WSZkGitHF/j6kuwDU8 GcEHVDbeWQDpRy8MfyqmnUWhNFzoVQY= Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-14-okDahXnmOtGxHKcREY_nfg-1; Thu, 11 Apr 2024 18:59:33 -0400 X-MC-Unique: okDahXnmOtGxHKcREY_nfg-1 Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-617c8ff16fdso5177137b3.2 for <dev@openvswitch.org>; Thu, 11 Apr 2024 15:59:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712876372; x=1713481172; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n26mXfmfMezinAI1+k/0udJCwsiPjZSszIHhNlKn3WE=; b=aWjq6Dk764hrKliQTu6759c5z2m66pqaYL5J8CNVdDKPmh8eowi0X3bhuQNpmWywJW /aIhxvYqsOLXLk3W3oJgH5BzbxN31rm8ZeUveqt2ebMLdbwAvkcLDm/TN7ta0jNeVOd2 dIFCkm/C1kZIZuS6q3AIPBisesR+e2C3u68+UEmrdN/TmKlZFiC6OKcTIX0g3wjSU5X0 rCUbLLPPnt3M803VMrFVWb8Ormy0k11Ze9C1HuqnSGD8qzUYufU8mq3IIxQnyO9CW6+l atH6iaRGJ0hTEWpObr1t7fbHh4byZZjxJM2M7EnRq5EkkcnhQk/eyCMVJ0+QbORlR+Yv JY+Q== X-Gm-Message-State: AOJu0Yy0WOSyq6U8LZ0CVKxexNz/LLeIXIsuQR9hhrpDxux/HUtRyN1C J6nkcNA37ZNn093kWxHxTB1X95f1MwZRzVd4s0BNo8GFfuuIsnKgQmFMUbz0BAgYjXNEexSJTpF hXDDMu7icSaXUUuLLpsoaCNAzrEjplj/mJcNuR7AFXQtinmVxnlmTSUS5T48YTBEj53hgXpJdQn bQy7HKAC1mbGlxmLDLqzvf/C5oZUyhTsh/Rw== X-Received: by 2002:a05:690c:f94:b0:618:7e28:e992 with SMTP id df20-20020a05690c0f9400b006187e28e992mr316536ywb.7.1712876372499; Thu, 11 Apr 2024 15:59:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMU5MGpoZ5sOicOZTGusOl4PW6wwDWY2IIPrMKRkj6ukEr+OMromX3VRPJXIJYx0XoPIPzIQ== X-Received: by 2002:a05:690c:f94:b0:618:7e28:e992 with SMTP id df20-20020a05690c0f9400b006187e28e992mr316505ywb.7.1712876372003; Thu, 11 Apr 2024 15:59:32 -0700 (PDT) Received: from fedora38.localdomain (172-073-180-250.res.spectrum.com. [172.73.180.250]) by smtp.gmail.com with ESMTPSA id o14-20020a0dcc0e000000b0060cbd86ba1bsm535991ywd.12.2024.04.11.15.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 15:59:31 -0700 (PDT) From: Ihar Hrachyshka <ihrachys@redhat.com> To: dev@openvswitch.org Date: Thu, 11 Apr 2024 22:59:18 +0000 Message-ID: <20240411225922.2473043-4-ihrachys@redhat.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240411225922.2473043-1-ihrachys@redhat.com> References: <20240411225922.2473043-1-ihrachys@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH ovn v5 3/7] northd: Don't remove detached op from list. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" <ovs-dev-bounces@openvswitch.org> |
Series |
Correct tunnel ids exhaustion scenario.
|
expand
|
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | success | apply and check: success |
ovsrobot/github-robot-_Build_and_Test | fail | github build: failed |
ovsrobot/github-robot-_ovn-kubernetes | success | github build: passed |
diff --git a/northd/northd.c b/northd/northd.c index ace663d54..3d2715911 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -4346,7 +4346,6 @@ ls_port_create(struct ovsdb_idl_txn *ovnsb_txn, struct hmap *ls_ports, if (op->sb) { sbrec_port_binding_delete(op->sb); } - ovs_list_remove(&op->list); ovn_port_destroy(ls_ports, op); return NULL; }
The `op` here is a new port structure that is not, yet, attached anywhere, and the attempt to detach it will result in undefined behavior. Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com> --- northd/northd.c | 1 - 1 file changed, 1 deletion(-)