From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66D75A04DB; Tue, 11 Aug 2020 17:42:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 097491C027; Tue, 11 Aug 2020 17:42:29 +0200 (CEST) Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by dpdk.org (Postfix) with ESMTP id 02F981C021 for ; Tue, 11 Aug 2020 17:42:27 +0200 (CEST) Received: by mail-pj1-f67.google.com with SMTP id c10so1669238pjn.1 for ; Tue, 11 Aug 2020 08:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ral/ZQT98z2dA/8RzV4GLT5mebpLdNH4MnR+VWeliZ0=; b=1Y3963BjCB4ECoN9x+1k++Z8NU5g90pfCkucxfqtfh0r9VQ0b6tNg/BxF2f6t3oywn r10T+w2JftxQWmrXga9zXQbZt3QKAIpAfGoaXQ7/XhibuDYExUHhgVPuLVNUUzKDbowb Atz1H4idbh59/va51mGltAkrVY2XTYGjAEDAehCP6l37fbh/YYBl11orjzhe+rjIaL8E Oo6HA9Y+/SCiji4Q6rPjJCQVtTXLa0DBed4kl2vZ77JyHKNVFU3vMOcI5kzvJnOx/d4J 9lIsOy7Q+EbCy8eraV7BtWjzgKb/a+HPrKc8KJYbg+RAKdyYP8rOItlL9+l4qRbOBfXg ymKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ral/ZQT98z2dA/8RzV4GLT5mebpLdNH4MnR+VWeliZ0=; b=a85x3XrmVtjVslOzdzgD2hmesgUNYRVt9zHM9EJ/6fdbipMKD6uabqWoIqTrjm5hj6 i/TIuLMMNsxoE6+a+TODllFLc8OYcI8nVmfYbB3lN5wV4B066r5mUxXpiSKAIXZTT8XX ol87F9DfT7MCAyKRq+1KQ1N29+wuU+hcNKr8jS/BzPoGM30dtb7a6NoguYtTMUowZskE bWUjRzNf6BlYPom0XYqG7Bt4xvBH8P+zzaJNXrClNfnW0lxgOVTKj4QF628ONz1aurjw aMVxhJdH/DCkrVFHCLVr9z8qDK8mrq5iyW9z0j3F6zJgsXAGy+lM7Sve14dG6QKd/LOb r/zQ== X-Gm-Message-State: AOAM531AH6SQW3mpXsMyvr3+S5jN5DuhRZEAMfBy56EggchEGU659k0N h9JEDl4+nudUpjf53u8QpGa08g== X-Google-Smtp-Source: ABdhPJzgCtYJTpHACWZv13LWCMB23Blio/BPrjxNWvUfcaZmg1jpugsYQc2p7kR1LXr5IOjJ6QBT4Q== X-Received: by 2002:a17:90a:bb8a:: with SMTP id v10mr1638216pjr.144.1597160547180; Tue, 11 Aug 2020 08:42:27 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id w15sm3303427pjk.13.2020.08.11.08.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 08:42:26 -0700 (PDT) Date: Tue, 11 Aug 2020 08:42:18 -0700 From: Stephen Hemminger To: longli@linuxonhyperv.com Cc: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , dev@dpdk.org, stable@dpdk.org, Long Li Message-ID: <20200811084218.1a59d2d0@hermes.lan> In-Reply-To: <1597113194-90208-4-git-send-email-longli@linuxonhyperv.com> References: <1597113194-90208-1-git-send-email-longli@linuxonhyperv.com> <1597113194-90208-4-git-send-email-longli@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 4/4] net/netvsc: check for overflow on packet info from host X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 10 Aug 2020 19:33:14 -0700 longli@linuxonhyperv.com wrote: > From: Stephen Hemminger > > The data from the host is trusted but checked by the driver. > One check that is missing is that the packet offset and length > might cause wraparound. > > Cc: stable@dpdk.org > > Signed-off-by: Stephen Hemminger > Signed-off-by: Long Li Reported-by: Nan Chen