Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5667470imm; Tue, 18 Sep 2018 13:25:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbMy199n16TAOF18BSD6tB9l2Cn3lQ5LWfA7mdXLzJTXBf/PxVjPK6YC4/3GsbpAR3UENaH X-Received: by 2002:a63:1245:: with SMTP id 5-v6mr28927370pgs.299.1537302337350; Tue, 18 Sep 2018 13:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537302337; cv=none; d=google.com; s=arc-20160816; b=nQpSEK7o7aZ/N6WDgXkfCDdlv2SDUyB5AgmKuOgMp4cU9curoco5NSb4QHuBC7XA2Y URZfwHYF4MSu2NS2pLhFyxMdUOqgiCLQEzRaP55d+SRrNH9FB9gA6WM+CQURT4mZ80Ok UYRwUFs50dbZ7/cvpblCAV+CSd5V7d1JvNL26JwwusVfzn9iH0eXJaohYNsHv0XgoXJO HHZwuM54QzbQ73ESlJf4KTOZJPLlQLD/YXWTX0bb5oSU2R7F3ERQe1es+p8gYFwT7ZNY CjM/1fN3GqGGgyhiWd4kemrzxDjBKzNhZF/m3kQvo/BPy9Nw+0W7nhueH155mN+nQQbD 6ieQ== 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=S2b/c6Kmx71m7oph9UIXHdHh8joRXZhYblADsrrAJHU=; b=ejSIECDhTL8zsK5j47fk2krI9sZoGUY15WFSRtlXicD+Taow99tsSTTQbClJTRZ3RB 517N6yh2JBN5TD0Pbc8ZNBhT9Ms72KgKz3jdv/4em3JzJi8iwRolElthmf07CpDLcKQ3 O2KZrGRyGHCiSKqhObqhFI5C+9zaceRSb6qRX7acnW1y3O22soeo0HK5XsFcz30KuIsT 1i8O8rafvnThloYYr+eDAkArJ5udmVbT8phi04hIaOX8f2lDTSjkctWr8kVTjjU1vRYE odP4rLw3StlgoOXv8V+bRN2r5NqWwimnA9EurIM6U6STcwmOFTf5tgX6qtfqp3gs8gWc ffJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sR08xJCu; 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 32-v6si20193781plc.475.2018.09.18.13.25.21; Tue, 18 Sep 2018 13:25:37 -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=sR08xJCu; 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 S1730394AbeISB5h (ORCPT + 99 others); Tue, 18 Sep 2018 21:57:37 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35483 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729732AbeISB5h (ORCPT ); Tue, 18 Sep 2018 21:57:37 -0400 Received: by mail-ed1-f65.google.com with SMTP id y20-v6so3035029edq.2; Tue, 18 Sep 2018 13:23:22 -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=S2b/c6Kmx71m7oph9UIXHdHh8joRXZhYblADsrrAJHU=; b=sR08xJCu+OmuLX5Yi+llnVKZWsm6+dPuktnMyusyjH+DYYxy6Alq3TnqSV5od47lKS 9ya2qeOonAUWdl8TD7BdtBW5d/pJTqvyy3dHcAcVR0uH5IBXXQsViWrIoh/ifH6ufLQ3 /4w8iniVzZ8UCZztxIQ//tgf0JZPBWZWdRp0XizBBMMuSNQ/CQiWc0OMaOXLeW3iScJ/ 65VzkTWAX+IIYhsDCACquic4ey3FbV4IFoJ/TfZ5ULeVwjgR7HbSahj585Asjp0+wEy+ IGPb8Mn8GMhGSwXqrkNzMXLF+HlhTXISBpTH/U+PpSFFHLQ2bHuVXTv4YVz8dGHOPo0t IgdA== 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=S2b/c6Kmx71m7oph9UIXHdHh8joRXZhYblADsrrAJHU=; b=ogljozjjgkpcbHS223hK65TsrANRsenfmqYPs9dzxBTg4mgqo9ov3zybpi2SSuQmmO vm83sLsPz2RRzprPP8/95TOPh2wTwG4UEhADvjmucnbjdo2imwL9oCsIoeFWQuTvt3oZ c+8kB30qAk6pEsdLhLrgqawRAMelZ3T4BCT++zh4gvmLB28n9ADdKnoqQdpxxeXHPap5 TdG2pl5MyjWazDbGa339Pej60QsflrbC9+i63CIYcO2v/F6ZGX1OW3nqUqq7VHdI53ya cIRqMukgQ1SMXTrJbkY/ms0PcSOUjEwF/0RCxuq4FmlVkh+0aVUjAARe5ukNzUwi2xWV ROoA== X-Gm-Message-State: APzg51BJlr62YM+Rhft/ZpuYO4SMM1k/K22xlsqj0Vl6siXhezUMap4M o8m8O7I5zupYUs3Snoc+Vi2+Dw52sKNvdyLl+WI= X-Received: by 2002:a50:cd07:: with SMTP id z7-v6mr54316159edi.60.1537302201680; Tue, 18 Sep 2018 13:23:21 -0700 (PDT) MIME-Version: 1.0 References: <20180918151235.4284275f@canb.auug.org.au> <0dc91212-54e8-d2f0-a4e3-30a468c20b8d@infradead.org> In-Reply-To: From: Willem de Bruijn Date: Tue, 18 Sep 2018 16:22:45 -0400 Message-ID: Subject: Re: linux-next: Tree for Sep 18 (kernel/bpf/syscall) To: Daniel Borkmann Cc: rdunlap@infradead.org, Stephen Rothwell , Linux-Next Mailing List , LKML , Network Development , Alexei Starovoitov , Petar Penkov , Willem de Bruijn 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 Tue, Sep 18, 2018 at 12:28 PM Willem de Bruijn wrote: > > On Tue, Sep 18, 2018 at 11:44 AM Daniel Borkmann wrote: > > > > [ Cc Petar and Willem ] > > > > On 09/18/2018 05:37 PM, Randy Dunlap wrote: > > > On 9/17/18 10:12 PM, Stephen Rothwell wrote: > > >> Hi all, > > >> > > >> Changes since 20180913: > > > > > > on i386 or x86_64: (in 6 of 20 randconfigs) > > > > > > kernel/bpf/syscall.o: In function `__x64_sys_bpf': > > > syscall.c:(.text+0x3278): undefined reference to `skb_flow_dissector_bpf_prog_attach' > > > syscall.c:(.text+0x3310): undefined reference to `skb_flow_dissector_bpf_prog_detach' > > > kernel/bpf/syscall.o:(.rodata+0x3f0): undefined reference to `flow_dissector_prog_ops' > > > kernel/bpf/verifier.o:(.rodata+0x250): undefined reference to `flow_dissector_verifier_ops' > > > > > > Full randconfig file is attached. > > > > Looks like we need a wrapper for these, config had: > > > > # CONFIG_NET is not set > > Thanks for forwarding the report. > > For the functions, I think we can use a similar static inline stub as > used e.g., for bpf_map_offload_map_alloc. > > The _ops references are from a macro that includes linux/bpf_types.h, > so indeed a CONFIG looks needed. > > I need to look it over before I send out, but tentative patch: Sent http://patchwork.ozlabs.org/patch/971280/