[{"id":3672959,"web_url":"http://patchwork.ozlabs.org/comment/3672959/","msgid":"<ac8e4A9YPcXoFobL@redhat.com>","list_archive_url":null,"date":"2026-04-03T01:58:56","subject":"Re: [LTP] [PATCH v2 2/2] pidns32: fix PID namespace nesting depth\n off-by-one","submitter":{"id":73704,"url":"http://patchwork.ozlabs.org/api/people/73704/","name":"Li Wang","email":"liwang@redhat.com"},"content":"On Thu, Apr 02, 2026 at 10:55:34PM +0200, Petr Vorel wrote:\n> From: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>\n> \n> The 2023 refactor used tst_atomic_inc() before clone with a zero-initial\n> counter, which only performed 31 CLONE_NEWPID nests while still expecting\n> MAXNEST (32). Use tst_atomic_return_add() so the shared counter runs\n> 0..32 and the chain reaches 32 nested namespaces again.\n> \n> Fixes: 647cfd468c3b (\"Refactor pidns32 test using new LTP API\")\n> Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>\n> Reviewed-by: Petr Vorel <pvorel@suse.cz>\n> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>\n> Signed-off-by: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>\n> [ pvorel: use tst_atomic_return_add() ]\n> Signed-off-by: Petr Vorel <pvorel@suse.cz>\n\nReviewed-by: Li Wang <liwang@redhat.com>","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=lQmR0FnV;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=bWkw6ug3;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fn22l0wy6z1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 12:59:11 +1100 (AEDT)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id DF6A93E5492\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  3 Apr 2026 03:59:08 +0200 (CEST)","from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 60BF13E1D52\n for <ltp@lists.linux.it>; Fri,  3 Apr 2026 03:59:05 +0200 (CEST)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-4.smtp.seeweb.it (Postfix) with ESMTPS id D48FB1000A1E\n for <ltp@lists.linux.it>; Fri,  3 Apr 2026 03:59:04 +0200 (CEST)","from mail-pf1-f199.google.com (mail-pf1-f199.google.com\n [209.85.210.199]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-278-1rZlpc-WMQ2qUcNvS5S4cw-1; Thu, 02 Apr 2026 21:59:02 -0400","by mail-pf1-f199.google.com with SMTP id\n d2e1a72fcca58-82c70d1f65aso765816b3a.1\n for <ltp@lists.linux.it>; Thu, 02 Apr 2026 18:59:01 -0700 (PDT)","from redhat.com ([209.132.188.88]) by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9b27064sm5554093b3a.9.2026.04.02.18.58.58\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 02 Apr 2026 18:58:59 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1775181548; h=date : to :\n message-id : references : mime-version : in-reply-to : subject :\n list-id : list-unsubscribe : list-archive : list-post : list-help :\n list-subscribe : from : reply-to : cc : content-type :\n content-transfer-encoding : sender : from;\n bh=KkCpPnyO6vQ4GvY+hFF6A+jO/ccH3MhYlzqto9CZO/M=;\n b=lQmR0FnVLfqStefPlKzCVPYvAUG+Rc6xabJ0TMfIArJ4WssiSOF17BgTWMhG8rkr/03xp\n 9+L8uccc2L+gGjakaoVdz4N/TaXCcp6+Dszp5MwSX9Mw+8FlfsPLIaG9DwH8arE0DW7tMjA\n 52Xw+jf2RqjkkYqnRONsV7rbJafYMts=","v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1775181543;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=YwOv/xPmOdBam++G7+JE3nXnkV3pi+e1/5sjssc9Ex0=;\n b=bWkw6ug39xx/cXLg6oFVeXDTG6D3+/VvrxmERegSnMJDFytsdYusV0v1aVbvfh68Fhkb1O\n cgLos+tVyrG9lq8V7ekuknnJSzmaa7ejS5bMGnkUYmBZ8Z4hFzdewOZPJnemLTPUIWblNe\n EfaSZR6ja3G2TGLmoBeLu2h+CcsHVrU="],"X-MC-Unique":"1rZlpc-WMQ2qUcNvS5S4cw-1","X-Mimecast-MFC-AGG-ID":"1rZlpc-WMQ2qUcNvS5S4cw_1775181540","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775181540; x=1775786340;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=YwOv/xPmOdBam++G7+JE3nXnkV3pi+e1/5sjssc9Ex0=;\n b=Q4BgH4CQNbk8OOQyPxAmMSANBvQEEr1IOvHxiVyK4RU22gDMH67LUknYm6YKXAcsr2\n nepNeE1lpXjcGGfxDEreCBvj7GzKVtM9QpjCkLV+Jtpw1qWVQ3is0YGCrY3t/0y84QpY\n y934ijqWJb8MeFfgSNPjjbXY61riye/L5T5ebQxhCjW1rsZMKqu+svFZqaUtVz9lttpz\n lOYIVkFK013SbhaU2bWqldI6VZbTkAXpIGU0S0/4x7ThGITjA5xgSPNvQ+OrHtEatOb8\n GXWeQ3lJFvexu9E4oFSK2Gdl/51f95jySNX3/ibJNETobLAPnaJFj8kV2iyiVQVwZro6\n swYA==","X-Gm-Message-State":"AOJu0YyA+hY+2VDM8vebCm7Qghrqr24fKa55O9Ea5az/Wvqe2NlLXUID\n 3oxu3F6jD3W8M55Z9vFX+povwn6n5q1eybGB5ZXg8qrfSeX55t0abBO/Y8w02tSEKyIKpntn8Pa\n leAyF8K7XqnHkep3z3FWKUj0K8feGMyH09bjAdX1K5CeOT3C9qWfd","X-Gm-Gg":"ATEYQzw7bvXyPeixRk7CmENm6M7k19mkOo0Vxrr/oz/yXc8Fc/SY8lOfYRlkse+/V1J\n Twfd5G4oad3lz2F/rWezsB5gx7Tjo/0NYVXllZidlGD/C3ISSJ0xuZ1dvxSuZEQuNgzvSeALDcK\n tDmJqMqNsZrk/uGOc+Hx/sfeNilGs6EkAWGkIkMhC0MhducK1+51LU62xJUV1Pr8/ouEUHJr1J6\n RRlTALrEc2AmooEQOIh6BV4rOHhS+ufgfURB585s0oFgbONAswQiQ9bIIA925x5/hPDU/73fosS\n 9Sx0HBw/I7cGppwe4P9VMASYJaulKZNfpQr6z2eFUbeKO5KVc8MZNfFGd6+5Ow8dpyn4yM4MM2Z\n YY4sX9lSFjMov7+AspQ==","X-Received":["by 2002:a05:6a00:10c6:b0:82c:2445:bd45 with SMTP id\n d2e1a72fcca58-82d0da3dac1mr1234579b3a.10.1775181540454;\n Thu, 02 Apr 2026 18:59:00 -0700 (PDT)","by 2002:a05:6a00:10c6:b0:82c:2445:bd45 with SMTP id\n d2e1a72fcca58-82d0da3dac1mr1234551b3a.10.1775181539943;\n Thu, 02 Apr 2026 18:58:59 -0700 (PDT)"],"Date":"Fri, 3 Apr 2026 09:58:56 +0800","To":"Petr Vorel <pvorel@suse.cz>","Message-ID":"<ac8e4A9YPcXoFobL@redhat.com>","References":"<20260402205534.224141-1-pvorel@suse.cz>\n <20260402205534.224141-3-pvorel@suse.cz>","MIME-Version":"1.0","In-Reply-To":"<20260402205534.224141-3-pvorel@suse.cz>","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"a2F4q3WUmP-NzCdHn8obi9MMQCyYCFABQdpw4gXqgTg_1775181540","X-Mimecast-Originator":"redhat.com","Content-Disposition":"inline","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-4.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v2 2/2] pidns32: fix PID namespace nesting depth\n off-by-one","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","From":"Li Wang via ltp <ltp@lists.linux.it>","Reply-To":"Li Wang <liwang@redhat.com>","Cc":"Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>, ltp@lists.linux.it","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}}]