From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7CE1C282DA for ; Thu, 31 Jan 2019 22:50:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83B0D2086C for ; Thu, 31 Jan 2019 22:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548975047; bh=3xPMvcIzVWJHcL6JCOmACuNRIVRAwRycIKgIfbRWYio=; h=From:To:CC:Subject:Date:List-ID:From; b=uu0cjly7A/3zjgL27833coAnzBsPule/FeV4kGTvkV9fdkivjjsUsN1RDFKFbepqm 5qMsxG46axWHEZVjINa/rZPpkxjcwTSNRy25QGg312CCT3IgZiNLddEu/Ir3/FtkPA aVAYeGXgPPpMFUxidn0YpfnWbhdVgvcTIG6qvoWE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727523AbfAaWuq convert rfc822-to-8bit (ORCPT ); Thu, 31 Jan 2019 17:50:46 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:46912 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfAaWuq (ORCPT ); Thu, 31 Jan 2019 17:50:46 -0500 Received: from pps.filterd (m0109333.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0VMoEP1003885 for ; Thu, 31 Jan 2019 14:50:44 -0800 Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2qc8fa8bg6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 31 Jan 2019 14:50:44 -0800 Received: from mx-out.facebook.com (2620:10d:c081:10::13) by mail.thefacebook.com (2620:10d:c081:35::129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Thu, 31 Jan 2019 14:50:43 -0800 Received: by devbig007.ftw2.facebook.com (Postfix, from userid 572438) id 2428F760B19; Thu, 31 Jan 2019 14:50:40 -0800 (PST) Smtp-Origin-Hostprefix: devbig From: Alexei Starovoitov Smtp-Origin-Hostname: devbig007.ftw2.facebook.com To: CC: , , , Smtp-Origin-Cluster: ftw2c04 Subject: pull-request: bpf 2019-01-31 Date: Thu, 31 Jan 2019 14:50:40 -0800 Message-ID: <20190131225040.3447108-1-ast@kernel.org> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT X-FB-Internal: Safe Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-31_12:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi David, The following pull-request contains BPF updates for your *net* tree. The main changes are: 1) disable preemption in sender side of socket filters, from Alexei. 2) fix two potential deadlocks in syscall bpf lookup and prog_register, from Martin and Alexei. 3) fix BTF to allow typedef on func_proto, from Yonghong. 4) two bpftool fixes, from Jiri and Paolo. Please consider pulling these changes from: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git Thanks a lot! ---------------------------------------------------------------- The following changes since commit ab06418b7fb8cc1bf82cbce3ebd74e1bbf446d06: net: phy: Fixup GPLv2+ SPDX tags based on license text (2019-01-22 20:57:03 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git for you to fetch changes up to f01c2803873e83ea5f1b160c3169ed6018704be8: Merge branch 'bpf-lockdep-fixes' (2019-01-31 23:18:23 +0100) ---------------------------------------------------------------- Alexei Starovoitov (4): Merge branch 'typedef-func_proto' bpf: run bpf programs with preemption disabled bpf: fix lockdep false positive in percpu_freelist bpf: fix potential deadlock in bpf_prog_register Daniel Borkmann (2): bpf, doc: add reviewers to maintainers entry Merge branch 'bpf-lockdep-fixes' Jakub Kicinski (1): tools: bpftool: fix crash with un-owned prog arrays Jakub Sitnicki (1): sk_msg: Always cancel strp work before freeing the psock Jiri Olsa (1): bpftool: Fix prog dump by tag Martin KaFai Lau (1): bpf: Fix syscall's stackmap lookup potential deadlock Martynas Pumputis (1): bpf, selftests: fix handling of sparse CPU allocations Paolo Abeni (1): bpftool: fix percpu maps updating Yafang Shao (1): bpf: sock recvbuff must be limited by rmem_max in bpf_setsockopt() Yonghong Song (2): bpf: btf: allow typedef func_proto tools/bpf: fix test_btf for typedef func_proto case MAINTAINERS | 5 +++++ include/linux/filter.h | 21 ++++++++++++++--- kernel/bpf/btf.c | 3 ++- kernel/bpf/cgroup.c | 2 +- kernel/bpf/hashtab.c | 4 ++-- kernel/bpf/percpu_freelist.c | 41 ++++++++++++++++++++++++---------- kernel/bpf/percpu_freelist.h | 4 ++++ kernel/bpf/syscall.c | 12 ++++++++-- kernel/trace/bpf_trace.c | 14 ++---------- net/core/filter.c | 2 ++ net/core/skmsg.c | 3 +-- tools/bpf/bpftool/common.c | 6 +---- tools/bpf/bpftool/map.c | 33 +++++++++++++++++++-------- tools/bpf/bpftool/prog.c | 5 +++-- tools/testing/selftests/bpf/bpf_util.h | 30 ++++++++++++++++--------- tools/testing/selftests/bpf/test_btf.c | 9 +++----- 16 files changed, 127 insertions(+), 67 deletions(-)