Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1349139ybn; Wed, 2 Oct 2019 14:50:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcAzhOZSshtuUhZcwEuwjA3kv0M48mDIuyzUDm7z0ofBX3dWc4+Zx1DKKq+xWy14VVf8JV X-Received: by 2002:a05:6402:128c:: with SMTP id w12mr6230013edv.158.1570053044280; Wed, 02 Oct 2019 14:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570053044; cv=none; d=google.com; s=arc-20160816; b=B8epIJpBA9EkSJyCJSk2sPYDFOKpl4iAqV4j0sRAfW6iZIlXdu2Fo7mrQs6z2HinLE MohtngZXKj+udzkrtEsZ87T71pQ8XTK/BWNC975KJWu2V3U2UYRA002dcW82JXSDCCqZ Ma/gLn0IQlZMRVdRAVep/179qz4+naBMUeWnUzs/SVQzvJCuE9O2/3GVNrItVhCS+rFC 5Q73dCyW6HCWIm9TjGzePo77o4Gd49ClFyLkK0B1j7Te5ScPg1yDVFvvIqxqneFHDzEf tFMSSVObd6GTPt5wv6Tl5Wk0rOrxJpafxdyXwP8B7yE6PwEiGib2laykcSCeMNUG5IyS vxQg== 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=H/l1Z6mqe+sew18UxIihneHwJjZNG3zHFInnW5dLs3Y=; b=JA2YdDNadFxgY0l/LTf6JQxPNY/A2HOa2WYrDAY/KvyP0RWvwd4ENeCz6UC/nSCXCj jUkE/IxATMlGKO9nzP6UeIhqcQT3/T+VQtnxZToYNlb7TDFqzxnIYiyGM14zNf6UN31V DLapI9/TpPBXitbru1T1IyNh4/9w3Y7VY2AiGnLVgMOmNsVkVXVD37nyMZmmqfmzXsx7 /q2cyCQe3N3/nq79BNWML+TJEJ79KlAQDKCc+7OVGAhndvo+t+E7PrK98bp4ZK8D8HRl 7G9gzd8g13NHzaw1CRGKL9770DzaxubFwcj30bKVQLsT3kLdcQOzmS9pqs7FAfhDH9wt lPqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gkVMntSd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id b15si246551eda.152.2019.10.02.14.50.19; Wed, 02 Oct 2019 14:50:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gkVMntSd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728034AbfJBUa1 (ORCPT + 99 others); Wed, 2 Oct 2019 16:30:27 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:44761 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbfJBUa1 (ORCPT ); Wed, 2 Oct 2019 16:30:27 -0400 Received: by mail-qk1-f193.google.com with SMTP id u22so26190qkk.11; Wed, 02 Oct 2019 13:30:26 -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=H/l1Z6mqe+sew18UxIihneHwJjZNG3zHFInnW5dLs3Y=; b=gkVMntSdsPeklPKD+UqQ33URkWswRRQAsbO0bdUwGWUuswAnqJfCLsvfj/KSKV723K zlbgYL7cJs1m1Zvr6dTAWffEAH2gB/yAdLNeTmNNSMVahyOyTeUXHILKnj2c7xuSw/p3 7BniCHczZQcd609FnnSsaZOc+TxBrLJdTHu0OxwNemggbAU2XMVNHoaYZwSKc+fyVuJL FsfqMj+zKX53eEBpgLRlDC6WIw5KkR5HxrAR5Uy3J55tRl5yJw+I9jWsp7EY74ifPddJ 1kf02djXfyI8Xrg12EMR9M0/bTIGK5KQMxytQGEXCLO5DJZ8J1Pn9gM3Lag0jDxnnOTv o1WQ== 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=H/l1Z6mqe+sew18UxIihneHwJjZNG3zHFInnW5dLs3Y=; b=mD87W6nmIu3yIWMiiNa7TDZ/4B6wE2GN6F2XEZcwpYHrP47PicjnT1kgy2mpF2G26Y +BjrjnDCv1VPkMZ3MV+pCE3Yi1S1eekrBKekWsD3Y2FWynaCSYLQLvZRKspJRVWLZpX9 zWgtsc83m7xYRT9Rbsw22Opyc6EJejse+QdDwqGE7S8smtCdXZjnMecihpanEmde5gpH GOzt5hMNyoHCLWyFZhsdjoXT4ri7/FGP6XqIAHZ/XSTvLW14EBoq1rie9T1Jj86SFCjI mnVnuqVlkl5QztbV7F+h3FBYDDv/W3xT+5n260ixo3XWD/cNvpJrdpXHL0s4Pixnv5Kw cyuw== X-Gm-Message-State: APjAAAWMICQdOwlQlrd/74g5GPTmw3sFF/oZ1LioEMbzBKDlEkujVSUt AvDIAQJmplxI8NT4gYOQIkUgYpu052l/MankCeo= X-Received: by 2002:a37:98f:: with SMTP id 137mr722298qkj.449.1570048225831; Wed, 02 Oct 2019 13:30:25 -0700 (PDT) MIME-Version: 1.0 References: <20191001173728.149786-1-brianvv@google.com> <20191001173728.149786-3-brianvv@google.com> <20191002085553.GA6226@pc-66.home> In-Reply-To: <20191002085553.GA6226@pc-66.home> From: Andrii Nakryiko Date: Wed, 2 Oct 2019 13:30:14 -0700 Message-ID: Subject: Re: [PATCH bpf 2/2] selftests/bpf: test_progs: don't leak server_fd in test_sockopt_inherit To: Daniel Borkmann Cc: Brian Vazquez , Brian Vazquez , Alexei Starovoitov , "David S . Miller" , Stanislav Fomichev , open list , Networking , bpf 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 Wed, Oct 2, 2019 at 1:56 AM Daniel Borkmann wrote: > > On Tue, Oct 01, 2019 at 08:42:30PM -0700, Brian Vazquez wrote: > > Thanks for reviewing the patches Andrii! > > > > Although Daniel fixed them and applied them correctly. > > After last kernel/maintainer summit at LPC, I reworked all my patchwork scripts [0] > which I use for bpf trees in order to further reduce manual work and add more sanity > checks at the same time. Therefore, the broken Fixes: tag was a good test-case. ;-) Do you scripts also capitalize first word after libbpf: prefix? Is that intentional? Is that a recommended subject casing: "libbpf: Do awesome stuff" vs "libbpf: do awesome stuff"? > > Thanks, > Daniel > > [0] https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/pw.git/ > > > On Tue, Oct 1, 2019 at 8:20 PM Andrii Nakryiko > > wrote: > > > > > > On Tue, Oct 1, 2019 at 10:40 AM Brian Vazquez wrote: > > > > > > > > > > I don't think there is a need to add "test_progs:" to subject, " > > > test_sockopt_inherit" is specific enough ;) > > > > > > > server_fd needs to be close if pthread can't be created. > > > > > > typo: closed > > > > > > > Fixes: e3e02e1d9c24 ("selftests/bpf: test_progs: convert test_sockopt_inherit") > > > > Cc: Stanislav Fomichev > > > > Signed-off-by: Brian Vazquez > > > > --- > > > > > > Acked-by: Andrii Nakryiko > > > > > > > tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-)