Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8617595ybn; Tue, 1 Oct 2019 10:38:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz13UeJEttsoc3MDxkwZGpgdDxK/7IoKkD6DQsuI2wsLt3HV4Fh3tTLElt3J5n41F5Ar1ax X-Received: by 2002:a50:8ad1:: with SMTP id k17mr27314714edk.243.1569951507155; Tue, 01 Oct 2019 10:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569951507; cv=none; d=google.com; s=arc-20160816; b=UynqL4UwU3eqSCc8xkQGUOhckY9EsnEHCM0feY9w4PFiUo228tw/MEsnc1F8hEIFKx 645V05m4SkXtphrSe0MjLbUzYl4rNBb0HfWnPZYILXs2hbkm7SfvbvlvO7EiUoS/Idw4 4R59qzPP6TtyDmBv7Q/7f9xgmXOcix9yoetjNb/B2zrX3keNAVut3sDg/D22vHgSh8G7 0yJNin45u5/X369/JEF/p9ggZs0+0gkH9uFwyZQ5NL8VAubW/xSrw4eXhwxhN3qq5ckO tcv64jSi7ciN/nd/pgFgd5U9dVL3GzhoOoLnneqCWk8dHRYwDIommTqllf+DyVUZRvhJ UmJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=3+w4QsZSJoLh853gBsFQX1yVGVE86OfZ0POYrmn9pHU=; b=jiUxVqqN7l4GT9zJmamWgGb8aHd5prdyuzSQlM6HjIcVE4YM33rl4e4zvzYVzQeB/0 uTy5RFloyGjrmdO7Rqrh3AV/s8TqP4y8F+JH9R82Fsv6D3vT0VulIfTA+RjWiNangOrI Q1H6wG2efZ6l2yL5ra7eyK3jx2uWGXo2xyA3GBiUocTzZVWrl0gvczn6WDEZYTTwdu0F xTAd8vJo+XuXYeZJU1haE6KulWB6ck3lZEhTCrToJPIz3mYTpuL4B1MXXoDDJ090bNoH 2m+mskEntW5DbpH8nWEDeNTitCqfOhtOknQ5WJJJ8M4UnZzqnqsjzAfIL5dRk9YwDIfU dIrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=EKLc4BdV; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oz6si9070648ejb.124.2019.10.01.10.38.02; Tue, 01 Oct 2019 10:38:27 -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=@google.com header.s=20161025 header.b=EKLc4BdV; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731050AbfJARhq (ORCPT + 99 others); Tue, 1 Oct 2019 13:37:46 -0400 Received: from mail-pf1-f202.google.com ([209.85.210.202]:35784 "EHLO mail-pf1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731054AbfJARhq (ORCPT ); Tue, 1 Oct 2019 13:37:46 -0400 Received: by mail-pf1-f202.google.com with SMTP id r7so10780181pfg.2 for ; Tue, 01 Oct 2019 10:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=3+w4QsZSJoLh853gBsFQX1yVGVE86OfZ0POYrmn9pHU=; b=EKLc4BdVvrOA881KZYHEn6ikBQGKo5TVuNhmnxKpZVyWpOn45UQ6LoQyiOxOx7L3hC mS3/3bAje8xM3gD1wCAsNpKY5mjWKNa/VF3Qz1Bo8Ds0b7JImYv9gPI1wlbKmTMvRO+D ZOOOMgU9Oxd/GpCEXArPBkf0RpH8/sef+NwED+gM8hTMZjtfLkPqU+AJ5jK6GwGQlksn 2GoKJ8aD5hc1j3KTNEpy8xco2s657h+8msI8UttOH5kixwSEtJongK3rMLvzD7Bi2Hv1 UKNLkTc9jNHtufNJdVoQbvS/KncrjsHzpTe/cFiSCYGEtTsz7GXG1ktsrtxbWC6kIT/8 mAzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=3+w4QsZSJoLh853gBsFQX1yVGVE86OfZ0POYrmn9pHU=; b=PLK/DTEkRut+2ZUty/qgO2RVVG7WS/7LRYZypA/uY55e0y3hdxTnYnjj/1O8sbNoAg ABw8gOG4OwcvXgwAaoO1hp13mVG9N7sCWOTdRXYz0oWeZoR9m8zRSrhETXd8HT2zelPf MsKRUNpxmPwRzwtOpklvZLDNT+5LQDvo7f0qImaljLlP/SJNS35UuWycnswgVnPonpuS r41N/wt9Rx960UWlVtzNQ5RS+8iGbJz6Yyo4t6VScocX9nLeEOqOcbQ4l5T5zzbYs90E nbIVGJCLzgF8noG1q/L62M5SCAzkfXYozDfQdh51yjOCpKG4r3r86iE2IdAsCqnMA/0M NC2w== X-Gm-Message-State: APjAAAV5z+b+n4eZYI3bpb21qbSFinA+IRC6X7fL42BxmsYRQQXj+zoG FfTWyCzCHP+3tkot+GSdQXlOrHYBoQ6z X-Received: by 2002:a63:4924:: with SMTP id w36mr15608050pga.113.1569951463622; Tue, 01 Oct 2019 10:37:43 -0700 (PDT) Date: Tue, 1 Oct 2019 10:37:26 -0700 Message-Id: <20191001173728.149786-1-brianvv@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.23.0.444.g18eeb5a265-goog Subject: [PATCH bpf 0/2] selftests/bpf: test_progs: don't leak fd in bpf From: Brian Vazquez To: Brian Vazquez , Alexei Starovoitov , Daniel Borkmann , "David S . Miller" Cc: Stanislav Fomichev , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Brian Vazquez 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 This patch series fixes some fd leaks in tcp_rtt and test_sockopt_inherit bpf prof_tests. Brian Vazquez (2): selftests/bpf: test_progs: don't leak server_fd in tcp_rtt selftests/bpf: test_progs: don't leak server_fd in test_sockopt_inherit tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c | 2 +- tools/testing/selftests/bpf/prog_tests/tcp_rtt.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) -- 2.23.0.444.g18eeb5a265-goog