Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp54935ybh; Tue, 21 Jul 2020 16:14:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj4Omol5y/JF5Dv5TOpGRx6DBK+O41iY2kNl2HSaCbl7A5Ig5/GkYEtWJSyvM7QnnV6orx X-Received: by 2002:a17:906:1414:: with SMTP id p20mr27052012ejc.247.1595373283748; Tue, 21 Jul 2020 16:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595373283; cv=none; d=google.com; s=arc-20160816; b=e4ydHdezhSpa6dAmeVIcIVq9HWKo967b7Ex7BPlLRtyEU/hvH4sfcj86AbppyIrkzV GOEHH51G+Y6TOep+KZyLLq6sFH7pawq/iAH6v9aY4ll0t/P1k7VGmYUwS/zDwIy0eoHr Gr0yvy/1VsZcSTHMxRF5zeNilcg7r7oAwgGMEo4BdirCNgZqmoM6TpRiNj6gNuayr/fY qP4sFmoXbwm0cC3EGrv0F5PCAJQ2fEwWxWK152vyjONcRmlEHVGQ94iVW2xmmCp8l2uP 7iQNk64NePSZg7d4AgXNkksvxRtnsHV2ZKQ45340ZFmhHs6Qkl+TRGHdHwc3FsMjhgDz B2LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=WafQquWlwOxlat0GuEY1InZhdlXIpVPhJVDiWNY8bwY=; b=VwyfSSGN+l4O0/9DaBZMLqn44XSkWKcbfaCO0OfRJBCYmcx75TrtCFy9YdF1pqpzHt gXJIGGVrHc6HOqHORmu1La42ngBbFKR7N+kAsP+tw69kF6+MWJ4q7wpE58ECUBwgB1oM CroFGUKzWOmAn7zry3qbV6XhWAymoBl6ikbcO5vCpFDXhv1EOnHipmDbsw90yh+07YSp BFgqdE8Q55ga+4uceYFkpJDUcnB9LV+hcMSZ9SEjRYTfhh0VCwo+/ZxkEAqktUS4Jtw+ zO0GY0qDLxwh40gwdMeebDj3NaVZaGTbeFGZIBFA9hS46Dhg/PuuqFcxI9xc5gwZVJYj OBEw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w23si12048734edx.588.2020.07.21.16.14.21; Tue, 21 Jul 2020 16:14:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731380AbgGUXLx (ORCPT + 99 others); Tue, 21 Jul 2020 19:11:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgGUXLx (ORCPT ); Tue, 21 Jul 2020 19:11:53 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58C78C061794; Tue, 21 Jul 2020 16:11:53 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id B789B11E45904; Tue, 21 Jul 2020 15:55:07 -0700 (PDT) Date: Tue, 21 Jul 2020 16:11:51 -0700 (PDT) Message-Id: <20200721.161151.1372351247735835232.davem@davemloft.net> To: paolo.pisati@canonical.com Cc: kuba@kernel.org, shuah@kernel.org, willemb@google.com, jianyang@google.com, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] selftest: txtimestamp: fix net ns entry logic From: David Miller In-Reply-To: <20200721161710.80797-1-paolo.pisati@canonical.com> References: <20200721161710.80797-1-paolo.pisati@canonical.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 21 Jul 2020 15:55:08 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paolo Pisati Date: Tue, 21 Jul 2020 18:17:10 +0200 > 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 Applied, thanks.