From patchwork Thu Oct 19 04:12:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Zhukov X-Patchwork-Id: 1851396 Return-Path: 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=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=u6HTvrxP; 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 4S9vgY57GLz20cX for ; Thu, 19 Oct 2023 15:22:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 442244287D; Thu, 19 Oct 2023 04:21:57 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 442244287D Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=u6HTvrxP X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4EaVHSgDbR3n; Thu, 19 Oct 2023 04:21:56 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id CB2A142850; Thu, 19 Oct 2023 04:21:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org CB2A142850 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 99C37C0071; Thu, 19 Oct 2023 04:21:54 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1EC0BC0032 for ; Thu, 19 Oct 2023 04:21:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 005FC41D0E for ; Thu, 19 Oct 2023 04:21:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 005FC41D0E Authentication-Results: smtp2.osuosl.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=u6HTvrxP 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 UiywWamEH8k4 for ; Thu, 19 Oct 2023 04:21:51 +0000 (UTC) X-Greylist: delayed 570 seconds by postgrey-1.37 at util1.osuosl.org; Thu, 19 Oct 2023 04:21:51 UTC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1B9DC400FD Received: from forward205c.mail.yandex.net (forward205c.mail.yandex.net [178.154.239.216]) by smtp2.osuosl.org (Postfix) with ESMTPS id 1B9DC400FD for ; Thu, 19 Oct 2023 04:21:50 +0000 (UTC) Received: from forward103b.mail.yandex.net (forward103b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d103]) by forward205c.mail.yandex.net (Yandex) with ESMTP id B8F41694BC for ; Thu, 19 Oct 2023 07:12:23 +0300 (MSK) Received: from mail-nwsmtp-mxback-production-main-53.sas.yp-c.yandex.net (mail-nwsmtp-mxback-production-main-53.sas.yp-c.yandex.net [IPv6:2a02:6b8:c08:8a4:0:640:2a7:0]) by forward103b.mail.yandex.net (Yandex) with ESMTP id 2022060036 for ; Thu, 19 Oct 2023 07:12:16 +0300 (MSK) Received: from mail.yandex.ru (2a02:6b8:c08:9af:0:640:129a:0 [2a02:6b8:c08:9af:0:640:129a:0]) by mail-nwsmtp-mxback-production-main-53.sas.yp-c.yandex.net (mxback/Yandex) with HTTP id BCdoq63W9eA0-yWIXnbWX; Thu, 19 Oct 2023 07:12:15 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1697688735; bh=TtMM2yz8LY0VlbFXoZrvrwezTD2f/L7iMc+9FRJnEfk=; h=Message-Id:Date:Subject:To:From; b=u6HTvrxPEsxsCVwORO8xf+/NFQujtkHQhKRPcGzhO19iZ+9piqCHvSu3xfEUTiFzK EszyX0SyHjQK8xUF0qmdtzRE1Sl3iBinkeAmnjYKhbisPFO9A/MS6C0QvkbOy/TAYP s19T9L8vOI67LJYW7aK9gJJdrLzesZFUtLbKMlYM= Authentication-Results: mail-nwsmtp-mxback-production-main-53.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by 2ifjmylsx37py6nh.sas.yp-c.yandex.net with HTTP; Thu, 19 Oct 2023 07:12:15 +0300 From: Igor Zhukov Envelope-From: fsb4000@yandex.ru To: dev@openvswitch.org MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 19 Oct 2023 11:12:15 +0700 Message-Id: <4639821697688735@2ifjmylsx37py6nh.sas.yp-c.yandex.net> Subject: [ovs-dev] [PATCH ovn] fix a copy-paste typo 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" Although this typo does not cause a real error. Look at my test: https://gcc.godbolt.org/z/hdKc389vd Signed-off-by: Igor Zhukov --- northd/northd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/northd/northd.c b/northd/northd.c index 916068d44..f8b046d83 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -15765,7 +15765,7 @@ build_lrouter_nat_defrag_and_lb(struct ovn_datapath *od, struct hmap *lflows, !lport_addresses_is_empty(&od->lb_force_snat_addrs); for (int i = 0; i < od->nbr->n_nat; i++) { - const struct nbrec_nat *nat = nat = od->nbr->nat[i]; + const struct nbrec_nat *nat = od->nbr->nat[i]; struct eth_addr mac = eth_addr_broadcast; bool is_v6, distributed_nat; ovs_be32 mask;