Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp857872ybh; Tue, 21 Jul 2020 09:29:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqFRaCXcEaAn8byZfGSRu0szLeswH4H/AsGoeTK+F1krv6cJapKCXezo9FhvScdgCP/O51 X-Received: by 2002:a50:e801:: with SMTP id e1mr26093910edn.251.1595348992425; Tue, 21 Jul 2020 09:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595348992; cv=none; d=google.com; s=arc-20160816; b=ixmCsn/ICDgTVObf7wBLDMmuJgFYUZ9Ejg2N2IEWMW4i89eL4wrQrB7SVU29vciK6M uvMNM/U6sWqUjYt2BhegyiL/XCLpW+I6ZVT6XK22YHgWZbw95cgx8NcgZuxLVyuDeEE6 WZJaxDqDjDF7UFzYydNfNfgXEP5EkO1Y1bPGCyBZ7ejC7ctv9D67+A/QtT4jZYpiJ9fq cIZD2yzcWW4MKVZgOEMstu+lVoo43shIBSt6m5LgYyZyDg52pFNWE/5Ma8j5EQj1lD6Z 5Ee3Iq3TXJm0riUe1vk/OT+LeYRimmfWtxwV62sjwyRg3nLzFU6YM+LwCZpyQk5Xm5GL sLnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UBP7qP0FYUChGaa0hrCulaczX/efODgBvnjZrXBVhPI=; b=hGva5Asf8pGu89kpuVUohA9oSvSZEKUQ4HgKVFToM1dKXBeNr7uH5URdc2H0ke6tgt civCsoBm7KWBvlPdBQeQgOYCPlmfwe3/SkUrATXCqg5cmIbQzi8TFnIxhNOorpoOT4Fw 6thJ9i3yxi6ZlEWy1G3MAbq9iVydUQ8oUy1Q0ShkU6IwhFIeU2aG3la93w2cprqLDQXO 4yQ4Due38PgYCq+WXi8aFWQrvD7rksHtrsaJ24g7PH3qEf8OCY9mGjda+TAQ6tCFHsLa /gqrPQUiyWREMlu3ZIEcI1vXsfXK1z8xTpds5YyLRXc7s8wBueTnXAPOI8lKCpHVOE0v I37g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nUKUr55E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s23si13096614eji.327.2020.07.21.09.29.29; Tue, 21 Jul 2020 09:29:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nUKUr55E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729376AbgGUQ0P (ORCPT + 99 others); Tue, 21 Jul 2020 12:26:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727955AbgGUQ0P (ORCPT ); Tue, 21 Jul 2020 12:26:15 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEA62C061794 for ; Tue, 21 Jul 2020 09:26:14 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id h7so4048057qkk.7 for ; Tue, 21 Jul 2020 09:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UBP7qP0FYUChGaa0hrCulaczX/efODgBvnjZrXBVhPI=; b=nUKUr55EXExbEWdGOSEgTubGim/24Vyuixpdf0xLuViukQ1HYqXJ7wLSsx+StUT43t K7S55wPrevvD8wkT/jrhclLmMejSUMDLw/wfvqShS0D/yhLD7MZQeo5BKdYi4rR98vdh A4Abp/qboL4FVZMjQwFlFG/Qg49E4D6cnF+/nV1uHLYdZC2dmvQK1VAuuU6ef+ygSSnQ 8nE6dM9lGyZyn4qkp8Fh/bl8PGghxxHCR1zTT9HnL1uv9lfgENAOh4F46b94eDP/ywhC fHczpcKRfaXaS77iH+rIzwkD7Z+il6u/vAyKFt8XUshWYfbGW0VPWA07ft3AHzYXsQOH rEqQ== 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=UBP7qP0FYUChGaa0hrCulaczX/efODgBvnjZrXBVhPI=; b=VV5/J5tn2Sagh9GvkBN4RpMk886TlCFPIvuCVzfIkHwvIFXj2t7lBwth3B09MEPr1i BN6Il48kkhPkrW7Pd8/NO+nqMQR4UcopM2Mhzh41bcijJD6E+0WKwnW9UUBLO0jWlMwC wVBCrahPXna4QAeiJ8SCJoAflMUjx/eaELlhkbJ8y5Vf2gsx3KSKIV33AuRF1khOdfgu K4+SdI6l4P2jDH/urbc5HHoo3KKrrray76PDcrZRT1e/Q/rN80ceWFHfoWsIx7EfqY/u uHp7RwnJxgluIcfXCLI0mACYFo0+QFUuYKZnKJNIEyDm8kBQzGZl3+ywRI2VN0d6EkUW +q5g== X-Gm-Message-State: AOAM532BhOc19XYjRgOKDVZrna8iIKKzt7ZDFcdDu7vnwFWsXwUikKy3 us0toTaaNG+aWZfJCvT5lWQIin3y X-Received: by 2002:a37:a08f:: with SMTP id j137mr1571194qke.150.1595348773530; Tue, 21 Jul 2020 09:26:13 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id m26sm24924541qtc.83.2020.07.21.09.26.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 09:26:12 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id x9so10266562ybd.4 for ; Tue, 21 Jul 2020 09:26:12 -0700 (PDT) X-Received: by 2002:a25:6d87:: with SMTP id i129mr42670421ybc.315.1595348772036; Tue, 21 Jul 2020 09:26:12 -0700 (PDT) MIME-Version: 1.0 References: <20200721161710.80797-1-paolo.pisati@canonical.com> In-Reply-To: <20200721161710.80797-1-paolo.pisati@canonical.com> From: Willem de Bruijn Date: Tue, 21 Jul 2020 12:25:36 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] selftest: txtimestamp: fix net ns entry logic To: Paolo Pisati Cc: "David S . Miller" , Jakub Kicinski , Shuah Khan , Jian Yang , Network Development , "open list:KERNEL SELFTEST FRAMEWORK" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 21, 2020 at 12:17 PM Paolo Pisati wrote: > > According to 'man 8 ip-netns', if `ip netns identify` returns an empty string, > there's no net namespace associated with current PID: fix the net ns entrance > logic. > > Signed-off-by: Paolo Pisati Fixes: cda261f421ba ("selftests: add txtimestamp kselftest") Acked-by: Willem de Bruijn Thanks for the fix.