Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1874255rwe; Fri, 2 Sep 2022 05:22:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR7VRFBWM/cLxiZfPSHyQWJWhhFJQnjepzcnIlFrNfwWaEF4gHRAEBJWrg8mwPl8I0b3/iSu X-Received: by 2002:a63:86c6:0:b0:42b:329d:de3f with SMTP id x189-20020a6386c6000000b0042b329dde3fmr31263640pgd.258.1662121327420; Fri, 02 Sep 2022 05:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662121327; cv=none; d=google.com; s=arc-20160816; b=QoOhWnmJTeGHG6cQPFOzQqwhFLiIVAgn3HU7tEuxvmtZEzu03evhK1nZ71RWG0hQ7m uw4RQ1/xgqqBAxVLNlAowWfTMoJkqnO8+y6k4ZOscyMuFMLMFd9v+g4aPxQAQOP8osGy FLuYa5D4efLLp46KzjrhJPfh+w8iNT6V2erUgCtqDkFrXRnb2xRLyr0RYM1EfCxsiLHW RiTtpyFPpHVDGg6RAT23383CMGekRSbNjxriQp2ovT6ye2Ini9KnCneMQ9hZYeVoY2db MCwHKjjzcOpgOJ5sbAWzIk8CML+NWBeUG22M2astuToIzbi14JwkYJ1KVbc16O5vQojp XViA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=U/+ib96A4XapvwX3u8ftu6RR4HVpac1pTbrap25VTPs=; b=VNQuS/MHfadtCiP099EjiOMQEjAfRPgdCVNod8xCVuULordb6EsRt8TWrUmz8l1Jq0 TtHTHHAoaR/Vx2EVHtTq/Dwg4KG+YD30aGP3gJFjH/GTwKc0V00145RQFoBkP36/hRzq WPZHiaosrhWXfg06vVjzVeedX/SPJeByaWNFjqkwEc9b1+Wdjc6P/IItwddHLQTjV26W 9+ReN2TvroS2jFOmJ6McEgC5EEJuVFLkOuGuDsXjzF3iWmCBs+Aj7q3euvM/FZRPxcdQ HtSf9pJRV3OZZmDc63BBjvaCvSsY5BNyfHfmFIpkcQNfRnlGDr79QP/TRsdj5xY0SW/d Y1uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Rzs0+2ny; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a26-20020a631a5a000000b0041dd0c2ef5asi1846387pgm.421.2022.09.02.05.21.52; Fri, 02 Sep 2022 05:22:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@intel.com header.s=Intel header.b=Rzs0+2ny; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235394AbiIBMQm (ORCPT + 99 others); Fri, 2 Sep 2022 08:16:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231266AbiIBMQk (ORCPT ); Fri, 2 Sep 2022 08:16:40 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA7EC2F92; Fri, 2 Sep 2022 05:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662120999; x=1693656999; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CJ7K6MAmvy9eYTd7oP1wszLEZKBCQJ6tFK2SaopjaYI=; b=Rzs0+2nyXx00SSq6SgHv/p7hUhLoqv/wHOoFB1v12CAXOL2TO6LBzXX/ Ky+VtPEcqsqZuXwOaLjckJHMs0HivQkGLU1AV6hgLxb2QJb3hjiA0NnQ7 iWaHUVeFKeNfO89VU6k2XFQolGMLbbmmbDvy0L6fydGCEBHgIN9di4EwI lp/KZBOqHEEkApjzi+TPF9tJPqUrio4tVmEqJG2ij47ai2jH/gcYXM0IQ ZVurhisjy74nfCEvQbPWjH/UU5BZQ6rDlIOset0bYF4YjgtvPTjUKTnpX ihHcH5Tx5ZGkKXDqDB4xCry0kNsdwF7wlouRrIo/0E3TmXYMbKXFxvPm5 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="278983881" X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="278983881" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 05:16:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="681270907" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 02 Sep 2022 05:16:34 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oU5b8-000039-0W; Fri, 02 Sep 2022 12:16:34 +0000 Date: Fri, 2 Sep 2022 20:16:24 +0800 From: kernel test robot To: Daniel Xu , bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, memxor@gmail.com Cc: kbuild-all@lists.01.org, Daniel Xu , pablo@netfilter.org, fw@strlen.de, toke@kernel.org, martin.lau@linux.dev, netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH bpf-next v4 4/5] bpf: Add support for writing to nf_conn:mark Message-ID: <202209022000.s58TmR9h-lkp@intel.com> References: <073173502d762faf87bde0ca23e609c84848dd7e.1661192455.git.dxu@dxuuu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <073173502d762faf87bde0ca23e609c84848dd7e.1661192455.git.dxu@dxuuu.xyz> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org Hi Daniel, Thank you for the patch! Yet something to improve: [auto build test ERROR on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Xu/bpf-Remove-duplicate-PTR_TO_BTF_ID-RO-check/20220823-032643 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220902/202209022000.s58TmR9h-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/496ec6d75c8e8758f93c6b987eee83713c911a05 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Daniel-Xu/bpf-Remove-duplicate-PTR_TO_BTF_ID-RO-check/20220823-032643 git checkout 496ec6d75c8e8758f93c6b987eee83713c911a05 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): ld: net/core/filter.o: in function `tc_cls_act_btf_struct_access': >> net/core/filter.c:8644: undefined reference to `nf_conntrack_btf_struct_access' ld: net/core/filter.o: in function `xdp_btf_struct_access': include/net/net_namespace.h:369: undefined reference to `nf_conntrack_btf_struct_access' pahole: .tmp_vmlinux.btf: No such file or directory .btf.vmlinux.bin.o: file not recognized: file format not recognized vim +8644 net/core/filter.c 8632 8633 static int tc_cls_act_btf_struct_access(struct bpf_verifier_log *log, 8634 const struct btf *btf, 8635 const struct btf_type *t, int off, 8636 int size, enum bpf_access_type atype, 8637 u32 *next_btf_id, 8638 enum bpf_type_flag *flag) 8639 { 8640 if (atype == BPF_READ) 8641 return btf_struct_access(log, btf, t, off, size, atype, next_btf_id, 8642 flag); 8643 > 8644 return nf_conntrack_btf_struct_access(log, btf, t, off, size, atype, 8645 next_btf_id, flag); 8646 } 8647 -- 0-DAY CI Kernel Test Service https://01.org/lkp