Message ID | 20200727211920.3697694-3-mmichels@redhat.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: 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=T8ECYO9N; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFt3r27CFz9sRk for <incoming@patchwork.ozlabs.org>; Tue, 28 Jul 2020 07:19:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 286D08844B; Mon, 27 Jul 2020 21:19:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GN2nocUEhmSN; Mon, 27 Jul 2020 21:19:31 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 50F9888415; Mon, 27 Jul 2020 21:19:31 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 44DF1C004D; Mon, 27 Jul 2020 21:19:31 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 006E4C004D for <dev@openvswitch.org>; Mon, 27 Jul 2020 21:19:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EFB608680B for <dev@openvswitch.org>; Mon, 27 Jul 2020 21:19:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQG4O84sHC43 for <dev@openvswitch.org>; Mon, 27 Jul 2020 21:19:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 956FF86594 for <dev@openvswitch.org>; Mon, 27 Jul 2020 21:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595884767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VUjKjGyLw/WENVtjTeQKvY1bu2MhdPBM0bu5rYUU1gg=; b=T8ECYO9NVfO5cDjYgLrnieuEOr60/N3E5TDw+r1KhvPxCZ1Cstyp6ARv7/Unhj89GME6va ZpNkERA5/E1Wi+felIcwBVIA/+WxAYQ1+Rh8iB0Rp25nwDY9bBTrvx2wPIZBh2NFhbnnp0 YJ5Gr1mixAbeAejiab50uOVRglwGFdo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-430-i-xE5k0AO1q4fVJGF961YQ-1; Mon, 27 Jul 2020 17:19:25 -0400 X-MC-Unique: i-xE5k0AO1q4fVJGF961YQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 47F361902EA8 for <dev@openvswitch.org>; Mon, 27 Jul 2020 21:19:24 +0000 (UTC) Received: from monae.redhat.com (ovpn-115-56.rdu2.redhat.com [10.10.115.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id AD11190E68 for <dev@openvswitch.org>; Mon, 27 Jul 2020 21:19:23 +0000 (UTC) From: Mark Michelson <mmichels@redhat.com> To: dev@openvswitch.org Date: Mon, 27 Jul 2020 17:19:17 -0400 Message-Id: <20200727211920.3697694-3-mmichels@redhat.com> In-Reply-To: <20200727211920.3697694-1-mmichels@redhat.com> References: <20200727211920.3697694-1-mmichels@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH ovn v3 2/5] Don't check for writeability of rhs during assignment. 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 |
Add ECMP symmetric replies
|
expand
|
diff --git a/lib/actions.c b/lib/actions.c index e14907e3d..b423995c3 100644 --- a/lib/actions.c +++ b/lib/actions.c @@ -515,7 +515,7 @@ parse_assignment_action(struct action_context *ctx, bool exchange, char *error = expr_type_check(lhs, lhs->n_bits, true); if (!error) { - error = expr_type_check(&rhs, rhs.n_bits, true); + error = expr_type_check(&rhs, rhs.n_bits, exchange); } if (error) { lexer_error(ctx->lexer, "%s", error);
The only condition under which the right-hand side of an assignment needs to be checked for writeability is if it is an exchange (<->) operation. Signed-off-by: Mark Michelson <mmichels@redhat.com> --- lib/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)