From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id F30205A0082 for ; Thu, 16 Feb 2023 23:22:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676586138; 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=uv3ZEmL33Luv7hXwwdcdJdQWgLK52N2ybdEdhkItSvw=; b=f15WJTTLaD6WKV/c5+3e/cH6LycdPJgZFg6e1mjo8I50kQ44GwgM34hCk/6Vi+B+q3r26e Wup5yFc9fet0vWbfKHxmZmtGhKb0sv5bm8LNWbCT5dyvm5d1kWx31oV1LDxlBLnyuBKPcm o5JvO8plHMQJUxtaaBHHCWWc4xEIZiY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-186-3ocvrH1qN7uQThxokG-qrQ-1; Thu, 16 Feb 2023 17:22:17 -0500 X-MC-Unique: 3ocvrH1qN7uQThxokG-qrQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6B844802C16; Thu, 16 Feb 2023 22:22:17 +0000 (UTC) Received: from maya.cloud.tilaa.com (unknown [10.33.32.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4DCEA175AD; Thu, 16 Feb 2023 22:22:17 +0000 (UTC) Date: Thu, 16 Feb 2023 23:22:07 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 0/4] Some cleanups to tap and tcp Message-ID: <20230216232207.198224bb@elisabeth> In-Reply-To: <20230216054311.2131853-1-david@gibson.dropbear.id.au> References: <20230216054311.2131853-1-david@gibson.dropbear.id.au> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: EQSZ6QYGR4NKSSOV3HD4OTAYVZ2CUYY5 X-Message-ID-Hash: EQSZ6QYGR4NKSSOV3HD4OTAYVZ2CUYY5 X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, 16 Feb 2023 16:43:07 +1100 David Gibson wrote: > This is a handful of simple cleanups which I made while investigating > https://bugs.passt.top/show_bug.cgi?id=41. Note that these don't > themselves actually address that bug, they're just unrelated cleanups > that happen to be in adjacent code. > > I've run basic tests on these, but not quite the complete test suite: > I haven't yet had a chance to debug an unrelated problem with the IPv4 > performance tests failing. > > Changes since v1: > * Minor comment and style fixes > > David Gibson (4): > tap: Don't pcap frames that didn't get sent > tap: Eliminate goto from tap_handler() > tcp: Remove 'recvmsg' goto from tcp_data_from_sock > tcp: Remove 'zero_len' goto from tcp_data_from_sock Applied. -- Stefano