From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none 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=D5m1pldU; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id E980F5A0274 for ; Tue, 21 Jan 2025 15:05:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737468353; 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=DDfbO06iyMiIrTXyh82J2P/nH+hiOEv7Y5HLzljIZWA=; b=D5m1pldU5vnHXKP3jV5+x1twjmOpi5rOjl9DFOdj2o90a/DD7n05v1AiNkSKBhHmICgk6f vGKZRlmm+U9tV7wh5oCnScFsGxNorYxaUtkobK0O4lh1EAHH4fa0JTb4vhAsVuyMxHHNTi /TzJJJaZFjzvUx6X/tNmbhx7RssFgas= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-74-pp0z7OdlM46X8TBKmjMJdw-1; Tue, 21 Jan 2025 09:05:52 -0500 X-MC-Unique: pp0z7OdlM46X8TBKmjMJdw-1 X-Mimecast-MFC-AGG-ID: pp0z7OdlM46X8TBKmjMJdw Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4362b9c15d8so29570835e9.3 for ; Tue, 21 Jan 2025 06:05:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737468350; x=1738073150; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DDfbO06iyMiIrTXyh82J2P/nH+hiOEv7Y5HLzljIZWA=; b=ulmoPK4tlaLJhgBQ6F5kGDFNGD/ESEK1NZlEH4FRpMIDlNpb+nAz/NulMibNe8Es88 kzJIlBeQ+zh2stOrflzCPc4wf6D1R8t1sOz6AP77YzR+aUhp0BZv6PQd1OoFoISyl3lX gm3z+TXDYp8pFt7okLavNWvOv7bLHEY3xz8NOuZewXx1l6sjN3UQvu+U/rvfcnTR/bHu UMGN8ErijhG0g/bF8AxvZt4vmIyA/5zPFH08IpX5NLf/FGsmA1Y2gsrz+csR96khnW++ Qgecr0hE7HmrrMjMhnVCCdAP07LPWtAJ2VAYP66+7wIH8X2xZ3BWJYKiGi0PdAK8JDZ1 0x1A== X-Gm-Message-State: AOJu0YytDoVpxGdsOJzJ1mpk33vxE7bEkzfO4p2S9fd3YGam+i5Kozbj ZmObbMqxG2rFREfBnsPrQqHDjCMzsKl5jrShKF+AwA+rgwt0MXtoqKG46v0YCHpjEeKn8ZDMNID ru4/JN2GCLeV/4M4wqhJDtPJpfBNfK7Cv+fFv/i4uBqcUJ1AyB14WQX9mxo6b5rvU84p76xq4dJ 34i2wBbxmszEscK+beTugp14isC54L7A/A9ZY= X-Gm-Gg: ASbGncvmtZtwE9ROEC0M9ZO+rSqKYMZsNPnC8FZ7rpWTAtbbVbMllCoI1S79sg74EuC zH+TurGyd/u/EGyfnlSt2Tvlr173Vowyb2DzRj/Q1+kiJmFmvm0XFFAD6t1Gfl6ZvlhnPlY5mnZ IEfHfltOTt5PV8eP55TVPPmtrYQ5Vw6CuRNx5JA+xpo/oIT7FWCv8Jy43CL5aHY03h0+m16tXVo RVyV8sieknBv1YFv8exNCYG4nZZuchOHpo+M/1FE9yxX9vx5vyZWC0WI26HLgPhUpOLdn/YObly Cl8LGLjwBV2dV6L5B9ya05o= X-Received: by 2002:a05:600c:1d19:b0:434:f623:9ff3 with SMTP id 5b1f17b1804b1-438913e0303mr182960965e9.15.1737468349508; Tue, 21 Jan 2025 06:05:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFM6OeCbytQLFLDR7aUD5MAyfL1U1FyLoUvh3seaAyE/rCvfQOLGHN++HYQxizzwcfCSHNt7Q== X-Received: by 2002:a05:600c:1d19:b0:434:f623:9ff3 with SMTP id 5b1f17b1804b1-438913e0303mr182960335e9.15.1737468349014; Tue, 21 Jan 2025 06:05:49 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-437c7525ee9sm237649085e9.32.2025.01.21.06.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2025 06:05:48 -0800 (PST) Date: Tue, 21 Jan 2025 15:05:46 +0100 From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH] vhost_user: Drop packet with unsupported iovec array Message-ID: <20250121150546.278ffe75@elisabeth> In-Reply-To: <20250121131602.1128671-1-lvivier@redhat.com> References: <20250121131602.1128671-1-lvivier@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: RJPlPD-01l9dfYvfo_nM-wX6UJMX5tMF32yGPZp1poU_1737468351 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: LNYLDCZH6TEJ5Z3SQMHEMZTMVV7IYD6C X-Message-ID-Hash: LNYLDCZH6TEJ5Z3SQMHEMZTMVV7IYD6C 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 Tue, 21 Jan 2025 14:16:02 +0100 Laurent Vivier wrote: > If the iovec array cannot be managed, drop it rather than > passing the second entry to tap_add_packet(). > > Signed-off-by: Laurent Vivier Applied. -- Stefano