Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2200862pxm; Thu, 24 Feb 2022 19:13:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdtM16NInYRpAgg46hYmPXcJGZIHpyZ3uhVvqL7oEjzHgktaZDYp8xzQwuSnxK3q6fhKZm X-Received: by 2002:aa7:c986:0:b0:413:30cc:cfd8 with SMTP id c6-20020aa7c986000000b0041330cccfd8mr5196594edt.122.1645758820653; Thu, 24 Feb 2022 19:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645758820; cv=none; d=google.com; s=arc-20160816; b=Jgxh8hVVtgUev2JcPG6XrfcDC9gTdyyBECk0iZSUnNFaDBfXIEGtL5Va3F5bEdDcmJ 6Wx5UP90B3yGI8dyF3QlKY/OPFMHQwyslLpkLTuOdFVBM6WVAPI97anzCygd9HCGfVbN KBAB3/g6eoLPLHWAw/IWfPKzKyfr+Dt7r+qIA1EjDlymTjQN8jGYYec2YGsTKVcig8ZR bfft1Ew3a62i06cf0sSzeuL9EWBWjgrWCFx/djEX99+myg8sZHmAOE5h7kbo8zuUDc6L aMkdx1fiN4ogk6KjO9HVVrEeLn1P1lWnIo10YTn+aZtGEmRminqwWLAPJbgOlhbs1nr4 RdJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=9QGiUD0axT8puJYVUk1QAqcjp4L+7MD0YNgsNT63uK8=; b=g5xpd/t/w2AnSLDqw70POeH4udhpHgYHKHxAxY5UZjx3XzZOoTU9RbOKbbcp5AUV+B L/oQRYI3Na6OP31l/m/cSnqHpMHXqBr6rq87JFJ9EpFMJknJCjkrt0PnjA/a51Y8FRPS p8HhPKrQZP4LqfIRWwigmtTVDOeZRNkveFJe3OkfxjIRPNzy6zZJfrqzEVX+P16M/h/T zgSisUmiRE7z0u8IK31lqFR39YJBKjPB5Nrnpw+Giwbh3htur4bMgSos9pu96vqK0tji MTkp7QIlkmWCNy+K63PWf+GQ9Yd7pgqvwmmgENM+ZAof/M5Cz1dtsvwMmLePOyc9XuVB qEnw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e26-20020a170906315a00b006cf60c8c029si758321eje.340.2022.02.24.19.13.16; Thu, 24 Feb 2022 19:13:40 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235356AbiBXWSD (ORCPT + 99 others); Thu, 24 Feb 2022 17:18:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232032AbiBXWSC (ORCPT ); Thu, 24 Feb 2022 17:18:02 -0500 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10593186BB4; Thu, 24 Feb 2022 14:17:31 -0800 (PST) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1nNMQS-0007G8-Vd; Thu, 24 Feb 2022 23:17:29 +0100 Date: Thu, 24 Feb 2022 23:17:28 +0100 From: Florian Westphal To: netfilter-devel Cc: Florian Westphal , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Pablo Neira Ayuso Subject: Re: [netfilter-nf:master 47/47] nf_queue.c:undefined reference to `sock_gen_put' Message-ID: <20220224221728.GI28705@breakpoint.cc> References: <202202250551.bHhoyNSe-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202202250551.bHhoyNSe-lkp@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,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 kernel test robot wrote: [ cc nf-devel ] > tree: git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git master > head: 661c8ec0381915e9a2b0f9dcc03a5bd70ba5e3dd > commit: 661c8ec0381915e9a2b0f9dcc03a5bd70ba5e3dd [47/47] netfilter: nf_queue: don't assume sk is full socket > config: arm-randconfig-c002-20220223 (https://download.01.org/0day-ci/archive/20220225/202202250551.bHhoyNSe-lkp@intel.com/config) > compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/commit/?id=661c8ec0381915e9a2b0f9dcc03a5bd70ba5e3dd > git remote add netfilter-nf git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git > git fetch --no-tags netfilter-nf master > git checkout 661c8ec0381915e9a2b0f9dcc03a5bd70ba5e3dd > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > arm-linux-gnueabi-ld: net/netfilter/nf_queue.o: in function `nf_queue_entry_release_refs': > >> nf_queue.c:(.text+0x60): undefined reference to `sock_gen_put' CONFIG_NETFILTER=y CONFIG_DECNET=y CONFIG_INET=n I could add ugly ifdef to use sock_put() like before for !INET case. OTOH, the entire nfqueue infra is doubtful in this config. Maybe elide that completely? Any advice/preferred solution?