From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20A99A0C4A for ; Wed, 7 Jul 2021 12:02:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15D08414A3; Wed, 7 Jul 2021 12:02:56 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id E481D406FF for ; Wed, 7 Jul 2021 12:02:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625652173; 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: in-reply-to:in-reply-to:references:references; bh=T/LDxsmV08dPf7KdqybsKmC5jsatkSV6KpqvzOfKcd8=; b=Uug3u7r6XcUpdS7Sl77JCKuNVyRkYYZVmN2JwJYFZfK+xm74mw35JX6kayeFJVPJIpO5+F AmldvcYJ8VXebG3TRE0qvW+HdnQI+1m0yj6ji09+QdvXe+8XZkDCj2Tpy9wdYLDUJjxyJ8 Uy0Om/JbHvkdMZJKEANGQK0wbAQUthE= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-464-_uLFHGIOPjO8HnYpiT5E_A-1; Wed, 07 Jul 2021 06:02:52 -0400 X-MC-Unique: _uLFHGIOPjO8HnYpiT5E_A-1 Received: by mail-ua1-f69.google.com with SMTP id d6-20020ab021060000b029029da61c35dbso672599ual.11 for ; Wed, 07 Jul 2021 03:02:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T/LDxsmV08dPf7KdqybsKmC5jsatkSV6KpqvzOfKcd8=; b=n52xKM10+rxeg/YfqmmBMoHB5aLtV/YhfjIm77e+d+zdhMKIb152OUXe5UcNWPjTtG Yq5EOMUWAfBUw5KEe0l5VEEY8dtS0Dmx/RnYn0YhM++bJhIp9L3ZFbc7khNLO9bqHT34 Uuf64NeDFpCo7xUE4eWu1lHclNmBdjg42+Wbt6F6LEFsJKKwXTYE+EWiMbm6iWIc3xp7 gnYKjiWHTzoX2PluZWQffV3W7hVBCnLhREt8XUSMVoEcGhnkfR2qk18wlyAoXBMB+4tZ +0zDaK10d79phd7pP5BX/ZQICO6vkAqGIt2UQCqLZQDmI2zapPd4cbgbVjUEQIajazTf 1ngw== X-Gm-Message-State: AOAM53338/2bHLUQAmmFuzHLGCtDPTIFLEZO0Up0+/ZTAcu/+A9aqjKn ctXJfJPAsEhR3/SRG78JSLjU4XnDIskKudS0zqNYh7tLsFmwynsO9YpKo22m4JDFRJEQ1UF5q0D mtpwGe75uWfMWuRF7JrvtWqY= X-Received: by 2002:a67:df85:: with SMTP id x5mr19794267vsk.17.1625652171787; Wed, 07 Jul 2021 03:02:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweicnlvV7UAobDU0g7UWgsQzs8EK8y6WFy9Kq9kopc6r26gBHHFcGL6ZnaX0XNL7eLi3S4head0BMM2a9tQ1o= X-Received: by 2002:a67:df85:: with SMTP id x5mr19794249vsk.17.1625652171649; Wed, 07 Jul 2021 03:02:51 -0700 (PDT) MIME-Version: 1.0 References: <20210527142722.16129-1-ivan.malov@oktetlabs.ru> In-Reply-To: <20210527142722.16129-1-ivan.malov@oktetlabs.ru> From: David Marchand Date: Wed, 7 Jul 2021 12:02:40 +0200 Message-ID: To: Ivan Malov Cc: dev , dpdk stable , Andrew Rybchenko , Andy Moreton Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH] net/sfc: check for ID overflow in action PORT ID X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, May 27, 2021 at 4:27 PM Ivan Malov wrote: > > The container in the action configuration is U32, > but the ID is U16, and overflow check is missing. > > Fixes: 1fb65e4dae8a ("net/sfc: support flow action port ID in transfer rules") > Cc: stable@dpdk.org > > Signed-off-by: Ivan Malov > Reviewed-by: Andrew Rybchenko > Reviewed-by: Andy Moreton Applied, thanks. -- David Marchand