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 209D948A43 for ; Fri, 31 Oct 2025 08:51:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1283A402ED; Fri, 31 Oct 2025 08:51:48 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 737E9402DB for ; Fri, 31 Oct 2025 08:51:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1761897104; 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=8aQdpfEfZTQNwRLanLErAocMZTLSF73qx9PiOhRHYnY=; b=iXwtysQWIbJMx+ROo1zKxT855ga8c4Acr84hUojQjI17oaEAiJ2neLI7uQzAX6IhmSQ5Kd yVn+FXWydu/2JGt+yciMTMsqp32CT3R6rBadbYvdEM8MsBjqoc40Lf04CoYXCaVXcy1yEA lH1gS6y8+q+X6IyxdkzugNzIxgzHN1s= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-1-jp6ZAxzZMyGkpJHOTx4O8A-1; Fri, 31 Oct 2025 03:51:43 -0400 X-MC-Unique: jp6ZAxzZMyGkpJHOTx4O8A-1 X-Mimecast-MFC-AGG-ID: jp6ZAxzZMyGkpJHOTx4O8A_1761897102 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-378ce6b11c8so9286231fa.1 for ; Fri, 31 Oct 2025 00:51:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761897101; x=1762501901; h=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=8aQdpfEfZTQNwRLanLErAocMZTLSF73qx9PiOhRHYnY=; b=ckFfuH5nejSMVSDj/G+l3bMUmHgow+vcusHky0aCgKZ1M4eQdLaaAVLU5UQ53g1vif x01RcQ2U7MiHwfTs5p+um5Fh0lA+8hXli1vSIZm07QF1wPyqexExN7tK9OxkIRk0pQHQ 4hshxF4IjBuu++657k1oZsLnhCtuWuOQ0DwPROmyk5z1EhUVcbW7BAg2zc9C4Wh7X7Yz ALIcoHV6WDwuugdO4tzA6s14AgOmJJOSkTTBXla2Mod1ZIJB+wUq4GLn7J0+DbVGtb+r bUzDb6A1fz3cRnixl1kYkjh4vkbQncsfFt+i3yaI6CN3khiRORriwDfj3PTAXoR0evF5 O7LQ== X-Forwarded-Encrypted: i=1; AJvYcCVb5//JRjCwuRTQqJzGM3xNpAZNB8MRbDgwMhIIKespVq4aiDc2AhRrq8Jxu98PgOA0AuiDKgw=@dpdk.org X-Gm-Message-State: AOJu0YwAcQNMZoqW0KL2QyHe1Pe4UKy8HGScfqI3bn36+8lWfAeNSfmG /nZm87ogFukVpy1YvH70epmiYZX3riYYFXolPpoT1HOdrYAg/sUE9rhyT19mD98msoZ5cS2YiNd S7S5GwSwzl3Bb7PhkMDiOHLY7tTBXxApy6ZE+SNxXpibDE/n0d3mJAqDciD7aOR00GmP5dYDkKh sH01FksS+L5D7NXPBdEFT7nhY= X-Gm-Gg: ASbGncuwK0SFwDuED4v0xaUvNwT0G3oOwTwiT2ncDRZ9izicH3Bt/WfcoQPrQEb0DmL vMPN7Piq/knTyRIZABMtE0sLJqKtELz2sGMI2rtHL86E+LVdZV4nu0EguDPQo3FpuEZ7TlznvEK In2rfxJ4qHKDujDai/0PzUXV9DElDj0gaHepjGzTC2Q+TvLT+955+NQg7SXQ== X-Received: by 2002:a2e:a90a:0:b0:378:dc27:90a6 with SMTP id 38308e7fff4ca-37a18dc61e0mr8764851fa.23.1761897101605; Fri, 31 Oct 2025 00:51:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHseicVMvp6lfKqxgERh95jekMORUST6lbqAMeM0IEMbQMZuHqOrVtns+le2Q/em0DK5bmxkhbf5qReCPV5Q+U= X-Received: by 2002:a2e:a90a:0:b0:378:dc27:90a6 with SMTP id 38308e7fff4ca-37a18dc61e0mr8764751fa.23.1761897101149; Fri, 31 Oct 2025 00:51:41 -0700 (PDT) MIME-Version: 1.0 References: <20251030175329.4041960-1-thomas@monjalon.net> <20251030175329.4041960-2-thomas@monjalon.net> In-Reply-To: <20251030175329.4041960-2-thomas@monjalon.net> From: David Marchand Date: Fri, 31 Oct 2025 08:51:29 +0100 X-Gm-Features: AWmQ_bkwi6mcNCO7itghTdFebhURACd0f3qaj8xRorIJZ22IdBqir4H4KtFS_R0 Message-ID: Subject: Re: [PATCH 1/2] test/hash: check memory allocation To: Thomas Monjalon Cc: dev@dpdk.org, stable@dpdk.org, Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: yOlwYwKodxJpAED1Sb5Rj9LW870RqP8HGO4tyRX9F3I_1761897102 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Thu, 30 Oct 2025 at 18:53, Thomas Monjalon wrote: > > When reserving a specific memory amount, it was possible to pass > the first allocations and fail on a later allocation > where there was no check, resulting in a crash. > It is fixed by stopping the test if allocation failed. > > Fixes: fd368e1982bc ("test/hash: test more corner cases") Also Fixes: 9c7d8eed1a45 ("test/hash: add RCU tests") > Cc: stable@dpdk.org > > Signed-off-by: Thomas Monjalon Reviewed-by: David Marchand -- David Marchand