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 5F0DF43A4F; Fri, 2 Feb 2024 13:35:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FEED402E8; Fri, 2 Feb 2024 13:35:33 +0100 (CET) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mails.dpdk.org (Postfix) with ESMTP id 8E7114028C; Fri, 2 Feb 2024 13:35:31 +0100 (CET) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-42a8b99eaf9so16298081cf.1; Fri, 02 Feb 2024 04:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706877331; x=1707482131; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=K8dj2I3OwsMcjVSm+oNQlF6mjw+iKC7ivBU+BwXeV68=; b=GK9piXy0OzgCXPQF4Q2aPZu9Z39tHPswXXpgzAqkvlnMVmwGEeDwCuN3IE0y9xqGNr fHUaO+XHgrFo70ppy4tFWb/h/5kZEe3NtKjjbujKm7JTi/FJqwhkr5PzUf9aPh6uTlJu 7sQSzUAhPmpxLO5yR3irEyYZUZ5YTGO0GT2q/btTPFm8G6C7jD3HdlQq9g9c5D5dGJX/ jiYlnyrfEjj40YFV2DIKndpzMqh5We6cBn718HGUAD9F007aOyPEFbNMDb2PnSfuz2Nx LCbr2UyJwu5jq+/Z9x5dhUL4n0Z345LJE6v0SkjjCqtkYL5m+0VLeCCBDgQOmQlV9us/ L2cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706877331; x=1707482131; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K8dj2I3OwsMcjVSm+oNQlF6mjw+iKC7ivBU+BwXeV68=; b=EDX3xf5RxjurTY/C/N06Vv++rf+KnhlI2OG6xipJ8+j0xVoeXWeYbI0R0FbNW81R9i OkvZPWtpaHT8wg22tR0MzpO0DUbNSgfuWCdQzgcPMsxhpbyrPrlrhebviIQu3EcB0dt/ bDYx15p8pz+7rdxkdGyHg0ZYcZVf0ur2BNOwWfD/51Qdj6GO/7gLLhTOsAEzmdAxOAi1 7JJlwoHazquOR7JOpW6cvBOLHm0JApEXHjeEDpyKDMGXMmm+NyDE3UyQjqc3GUJgDSbX jpAINX7pp42VYHhyBx8WWOYIdH7jrgm3Bwde1IVadKVcnWh/lSZ+U9m9GjwJd5VR1pEo i8vA== X-Gm-Message-State: AOJu0YzrrWNfMxi3t25c7j9kGfTN5LKxERpidjD3vyXhrDXyjhJKcddJ zaH4WwjblnK1/sU2w2YgsvrMCLze2A+OMRbc1a8/yBnk7WSY/2BzXgj/khrvDw2fRcDfi8wVKv+ CAeRtL/1ypODHxoGHLQ0DtJOLQEyesR8KP1c= X-Google-Smtp-Source: AGHT+IGvqDK03WeVgzwd8QuydJSztjK2adAFAHvJ0Q32YYqzBn48C9ubqP4TDAvC6DJkPQe7MUliG0YR1Bb7DQiJ1cg= X-Received: by 2002:a05:622a:1653:b0:42c:779:8b85 with SMTP id y19-20020a05622a165300b0042c07798b85mr721489qtj.15.1706877330855; Fri, 02 Feb 2024 04:35:30 -0800 (PST) MIME-Version: 1.0 References: <20240202052137.1324084-1-psatheesh@marvell.com> In-Reply-To: <20240202052137.1324084-1-psatheesh@marvell.com> From: Jerin Jacob Date: Fri, 2 Feb 2024 18:05:04 +0530 Message-ID: Subject: Re: [dpdk-dev] [PATCH] net/cnxk: fix aged flows query To: psatheesh@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org, stable@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Feb 2, 2024 at 10:51=E2=80=AFAM wrote: > > From: Satheesh Paul > > After all aged flows are destroyed, the aged_flows bitmap > is free-ed. Querying aged flows tries to access this bitmap > resulting in a segmentation fault. Fixing this by not accessing > the bitmap if no aged flows are present. > > Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging") > Cc: stable@dpdk.org > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Kumar K Applied to dpdk-next-net-mrvl/for-main. Thanks