Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp533893ybn; Wed, 2 Oct 2019 02:03:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7uxq9e2GSpRt7sv3bj039ArugvJ8NnrLEXJCWVfjmFXkMEgevy2joFDjWxp3NGnc5P3u2 X-Received: by 2002:a50:a8a2:: with SMTP id k31mr2487202edc.79.1570007002491; Wed, 02 Oct 2019 02:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570007002; cv=none; d=google.com; s=arc-20160816; b=DJumIMHilQLg5WAC+KQL8Irp1RnMqi1d2vMcgHVVI4p7j+l3YDQ4vFmxmZOtL8sVyP V+pOFrn/mKN/hUoXep0QTK/PIJBTRPNlWlFSUraFs9oUKzcVaAzSmi9++Z21Sdp0wL5/ uGwfJBuaU6yfVt3zAqoOOLP/HV+8faQqYC1seg+OoFr2u9pE4oQaR9iXY7c+ZlEBCNpV Nt/ZlMSZ+Wm/yVoZiJBoCOQV93V1EMO72SXOaOEVvP3cmUZTDN38R2nBVCeA79qvwv6f MIEeGfy2CAQFemrWCTa39W0FOdUZt2BBYAA/2D9VER3Xq9H+7NzhTHxVYlGCdg4vFG0n W87Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yQP1k/W7Gzc7/wzU8HEbRhyipCvsIOpbURC5L2BG1QY=; b=lftuWgGlFv9326xw1amMSD5CHnDxmsR1XqGZvG8X+T98S6HictFICi06z3UjJddAQ9 XUkLrC+F0+VOVKET8xgAKFTyDQWVS1uZFA6Nw85FGac3xllowMid4/c0Lh/0i6HaM3YU 3BaH7ck2KU3qqtMkmHI6kbokIgFx33vNcuk8uWu241zM+BVL0Hipkz/A16T1rM2CHiMh TTCAcBGFwf+9EWXvfAHAww67ZShwWrmkoSwHFrmlwb+A1FKHBFNAn0QHdPjPYqZXdc6H BY2kVo4A0DhiGZ456QUrrLUzbtsq73XkJAZwZKYr2q7bV2+cAxN0jXrDUeFIjdDqnIoq OrwQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pj21si10097896ejb.64.2019.10.02.02.02.58; Wed, 02 Oct 2019 02:03:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbfJBI4A (ORCPT + 99 others); Wed, 2 Oct 2019 04:56:00 -0400 Received: from www62.your-server.de ([213.133.104.62]:39636 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbfJBIz7 (ORCPT ); Wed, 2 Oct 2019 04:55:59 -0400 Received: from [2a02:120b:2c12:c120:71a0:62dd:894c:fd0e] (helo=localhost) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1iFaQL-0004eR-MZ; Wed, 02 Oct 2019 10:55:53 +0200 Date: Wed, 2 Oct 2019 10:55:53 +0200 From: Daniel Borkmann To: Brian Vazquez Cc: Andrii Nakryiko , Brian Vazquez , Alexei Starovoitov , "David S . Miller" , Stanislav Fomichev , open list , Networking , bpf Subject: Re: [PATCH bpf 2/2] selftests/bpf: test_progs: don't leak server_fd in test_sockopt_inherit Message-ID: <20191002085553.GA6226@pc-66.home> References: <20191001173728.149786-1-brianvv@google.com> <20191001173728.149786-3-brianvv@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25589/Tue Oct 1 10:30:33 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. ;-) 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(-)