Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18052404rwd; Tue, 27 Jun 2023 10:55:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qDZZY8eFmoAawF008gRXuXahWz/p9YLn71P/5I2ET2cWs9BVusrJJrsMz6a6kKWDo9NWn X-Received: by 2002:a05:6a20:841e:b0:11f:b885:e83a with SMTP id c30-20020a056a20841e00b0011fb885e83amr20825535pzd.57.1687888520541; Tue, 27 Jun 2023 10:55:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687888520; cv=none; d=google.com; s=arc-20160816; b=HLP/b68yiC/9/aBVDLbBw3aOHoKp6w3skKYUyAdyz2p/6MwKUDhlRVjiVadETFnRKy DZdAUrLk2R7plHlXjJajrHVjokQaLf2YaFPzU0uLX37tvJubAD+IvQeeUFerOv5BIp2c wSVnj4ehjny3y+pM8gXY8jK9o7xjcJNgvhY+FAHZRk87Lx7/J1RhtTja0olpn58S83JK h7TAw/Dsee4ApSNQiEVT2JZWH5uOA9GTw92jqzVs7o/TGyqrMuMSaLF3J3zxHwmXtLYM vDDImA0+wTv/NUESa1q/FX4bCjc3Uu7rvH945awHO5yZQ12Nwbzkp5/tULAoTRWtLDtZ cglQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5FPbiCFxxpqYYHb1+aatl89rGo96V81c3lwF9lJh8dg=; fh=pXmu6Ck3WVUXVIceBD7fEpkTuTDqzWr6E2m52yzfOjk=; b=c04Y33z3t56BmulzkTCdG8se+J9ttylsUZQQMwjL8MFJw8Mz8M1DMyoN094GyDxpzH jKVHg8gvyMIUyxf4yWvzr4xp704MJe0QRkeoUc0Xa2Llq+HCL9gEX9ywSyPrwfvixSL+ NhH5kWNJurKt0dyyrchB8dKPrlmNI1pvoBe4XSR5Qtl6EUHF01RWK33vg+RKGa+l0CH+ 9XaHLT1FYjVoL498JMNg/338Sho7lmPN5UfDBzYCeIROXF+/Y6lEyrbo3Wpo6iPzE4rE 1PHXSgxhhaaTDYs1px++rr/BxvQgNTF08B451pJNivtf/yth22uardni13o0nmsnVe7R jr7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="e/CcmFPc"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r17-20020a632b11000000b005538d9fe498si7860955pgr.414.2023.06.27.10.54.56; Tue, 27 Jun 2023 10:55:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="e/CcmFPc"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbjF0Rni (ORCPT + 99 others); Tue, 27 Jun 2023 13:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbjF0Rnh (ORCPT ); Tue, 27 Jun 2023 13:43:37 -0400 Received: from smtp-fw-80009.amazon.com (smtp-fw-80009.amazon.com [99.78.197.220]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DB71296B; Tue, 27 Jun 2023 10:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1687887815; x=1719423815; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5FPbiCFxxpqYYHb1+aatl89rGo96V81c3lwF9lJh8dg=; b=e/CcmFPcpKKfK0ToE3f7RTOKtk8Pt099JCFK+a7tYuJdU0yTgYXvGE7+ 0foKIyug0WTRe+CYalueOlb0rH/dPCTexG0cIf5166G5JobDStQbMt9sh Sd1XKzULXh6izJ9GM7NkubL6DQ6m7Z1JYCq8sTBOxZDS8L2hATCBvx8h3 A=; X-IronPort-AV: E=Sophos;i="6.01,163,1684800000"; d="scan'208";a="12747707" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-iad-1e-m6i4x-a65ebc6e.us-east-1.amazon.com) ([10.25.36.214]) by smtp-border-fw-80009.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2023 17:43:32 +0000 Received: from EX19MTAUWA002.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1e-m6i4x-a65ebc6e.us-east-1.amazon.com (Postfix) with ESMTPS id 87289669AE; Tue, 27 Jun 2023 17:43:29 +0000 (UTC) Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWA002.ant.amazon.com (10.250.64.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 27 Jun 2023 17:43:28 +0000 Received: from 88665a182662.ant.amazon.com.com (10.106.101.41) by EX19D004ANA001.ant.amazon.com (10.37.240.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.30; Tue, 27 Jun 2023 17:43:25 +0000 From: Kuniyuki Iwashima To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni CC: Alexander Mikhalitsyn , Christian Brauner , Luiz Augusto von Dentz , Kuniyuki Iwashima , Kuniyuki Iwashima , , Subject: [PATCH v1 net-next 0/2] af_unix: Followup fixes for SO_PASSPIDFD. Date: Tue, 27 Jun 2023 10:43:12 -0700 Message-ID: <20230627174314.67688-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.106.101.41] X-ClientProxiedBy: EX19D036UWB004.ant.amazon.com (10.13.139.170) To EX19D004ANA001.ant.amazon.com (10.37.240.138) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This series fixes 2 issues introduced by commit 5e2ff6704a27 ("scm: add SO_PASSPIDFD and SCM_PIDFD"). The 1st patch fixes a warning in scm_pidfd_recv() reported by syzkaller. The 2nd patch fixes a regression that bluetooth can't be built as module. Alexander Mikhalitsyn (1): net: scm: introduce and use scm_recv_unix helper Kuniyuki Iwashima (1): af_unix: Skip SCM_PIDFD if scm->pid is NULL. include/net/scm.h | 39 ++++++++++++++++++++++++++++----------- net/unix/af_unix.c | 4 ++-- 2 files changed, 30 insertions(+), 13 deletions(-) -- 2.30.2