From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=gTaSgysW; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id 5F6775A0265 for ; Tue, 24 Feb 2026 12:57:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771934228; 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=DHy7ksYbVD5HFSppv/gD0rCTsE2Q5TOD69t8SLGkbXo=; b=gTaSgysW/VgKuT08ynGivDPmuQo7mfohjY4yel0ukUaCFEapDIrWJlU4MVBRJJUpylahH6 uj5AqCUU8SfhoV59LbNWmV45KLgaJf+CTCCI8ytZ6tS885PfZVwBgBcD2OCm2yF4ziRIgI TQHmGDQIelITrI0nolEJlUtsSgI2Eb0= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-3dVFDmKONG28E2fau0QM_g-1; Tue, 24 Feb 2026 06:57:07 -0500 X-MC-Unique: 3dVFDmKONG28E2fau0QM_g-1 X-Mimecast-MFC-AGG-ID: 3dVFDmKONG28E2fau0QM_g_1771934226 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-4376b624589so3350061f8f.3 for ; Tue, 24 Feb 2026 03:57:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771934225; x=1772539025; h=date:content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DHy7ksYbVD5HFSppv/gD0rCTsE2Q5TOD69t8SLGkbXo=; b=hkOy3p9pLwzmav0BjGKcndb3neHkaliBBtudg2iLr+ZSR0TBgBCAoTr9/sxyGAQqcV DK9zeucJgcZR8sLGvIB9y1TnjFp/AmIjeKLcSF20JRvdgao2d8GNvrdDwVNH1O3YuPh+ D2uqv7mGlP0xwargLcVnMff0v38RHgL41kGvigRmna9VoRM2nWhdpbI9nhdmZOTI2X0R wQVrGjR86DpR4rY7XmT705IoCi+zO+2xDt6tmW5TJAdxHr1SdfAuUut+khNUMyUTBAC0 H8pgL1l+Q+evitm36vCxnqEBB2QgpIVPfKuQyPUZSkUGI/wUmANhEEZnnOjZUh7r1Par 1PXg== X-Gm-Message-State: AOJu0YxIrWp+99zTcbH8qWygQaHrdqZ/9fvT9+nepGJ+2Bwgj7B2+RRH IqHGc+VYFqHCyFCoEA35XwdaX+GrnMzcQ+CSV/RJa8dJGb7OIlqvygl99OFLdxrJfBK6Aha3BeG dP4jENwy5tt26CYVo5hWcrxFl/k512i5USdd9KsSYAn5Ug/hYBsB+QDYw299hAD19xmCcoFRb6j DMN10pPAGQ+98IkxSWUdCeWBqxpHIlThgWxyVD X-Gm-Gg: ATEYQzzU0cKrJdw4tSJBeQfV71o1S+vTJmbaAuGJWt0huhfk5IWHcozCTWMvvTKIV3G Gvl8ebpWJCVgBWjFpHOD2VliuH4TgBQ/Ymfw/CmpFKryqrFPTLcEnC+h1kU+3auDvspe54gJlou F4bIhUqOOfU9SOOWIs8/iCKas1XqDY7pXp9tFiOEgkzcghu3mkA8oMOY09wdNZnpsF40k+6uEUW kMJVdE53sppusFnqvraOiIIy4awB4dMi6/ldKa33fYX8sJrX2tRPxRAfmWP8n8BA4GnB+3mCDpf 4ANmaXGMhSnNYXsb7jFigDOsMqFqysIIWIDNSkMU6fkADHb23n3AEdEtkEbhlPmbdul6VnG9iUu hsM6rbK1LRlnTIN5Nc1X/z4eofuHxv4mm X-Received: by 2002:a05:6000:288c:b0:439:5c09:4854 with SMTP id ffacd0b85a97d-4396f19e75amr23341549f8f.41.1771934224928; Tue, 24 Feb 2026 03:57:04 -0800 (PST) X-Received: by 2002:a05:6000:288c:b0:439:5c09:4854 with SMTP id ffacd0b85a97d-4396f19e75amr23341504f8f.41.1771934224411; Tue, 24 Feb 2026 03:57:04 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43970d54760sm26173605f8f.35.2026.02.24.03.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 03:57:03 -0800 (PST) From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH v2 0/2] Fix minimum frame size checks in vhost-user paths Message-ID: <20260224125702.01080803@elisabeth> In-Reply-To: <20260223141027.2205762-1-lvivier@redhat.com> References: <20260223141027.2205762-1-lvivier@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Tue, 24 Feb 2026 12:57:03 +0100 (CET) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: wEB0OktiNwkyuOWEQhsr-UEazVWkI-EEvjhsT1koW_U_1771934226 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 3EC4BNGTM7T6OFNNUVCZ7YLTO367RE56 X-Message-ID-Hash: 3EC4BNGTM7T6OFNNUVCZ7YLTO367RE56 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.8 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 Mon, 23 Feb 2026 15:10:25 +0100 Laurent Vivier wrote: > In the vhost-user code paths, buffers from the virtio queue include > a virtio net header prepended to the Ethernet frame. The minimum > frame size checks (ETH_ZLEN, i.e. 60 bytes per IEEE 802.3) must > account for this extra header, otherwise the size requested from > vu_collect() and validated in ASSERT() is too small. Applied. Yes, it fixes the issue I reported previously in the TCP tests. -- Stefano