Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.14 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793225655; b=w/MiWr/HFOplUVJSgj6po3UNxBv5PiE0OiXMJ2wFI7uWubRwYLaMUYpcx6tWxaSzyLiH HZlvBXWg04nvpEOhqqy9RJVsAIpk87fdzSA0mNw857+LCypdnCuZawrdh1ihE//z2C/nw /JhKwHtKWb5eH2es5DjmFamNQTJ/QgRDlz3rsG3mVZiLOfOlphgE0YHF82L8QreDeQGXP Yy5OlMvjgXI5wW/oyUQHCLp9PjE9U4dCGaUGCVhUUjYQ1CX2M/wSv42TgZk+J9iOCH1FB Vjh9fwkJHhKayHWoapS8Vk/etwiBe0G2P91oCq0R/P8ZJOJKttyTgLMYwZa+zs65QaQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793225655; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=CPAQ5aEe1+o5nluWzz/DBPwd6eX5zlu5pB/TxmtERq4=; b=qsA0DdlXuaCM8XyZmggF71/mWZ9xLvNJVNWOfu7MGfxfNyve4cImy41YiIvrRaFUEscs Jr2XWANV5Vu9bbg362d+bHF+m9swCvtz2A0hmw7MSnHvnFIk8Bip4a+x7g5KglTk1Du5s xDrY5BQeckzvd1Z7/mE5Egr1X/1/cUvg1rlJdjUKtIWV7rt2PYFuagt2fL5U3pSxHUYAd c7i46pALQO6WlsU+ZrY5ffJ+yjTrMHOKz6XIjpPO6a/A2Aue/pjg18FCsaM73yrBNROqv SBfGaFC4eZBmtGfZ9/qKXAVygV3SOe26oBDevzqKBDNzuBvNBIx9dUfQotfsUwRGhgA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=JXLcLIdH; arc=none smtp.remote-ip=198.175.65.14 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EEA1606A31C for ; Wed, 28 Oct 2026 22:14:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1EEA1606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=JXLcLIdH DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1793225653; x=1824761653; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ru4HLyyM7que5XLxorAZZQbmon96ZOZDe/PoRiF9CaQ=; b=JXLcLIdHuRiX2LAtETjGwBLbcXRZ1VpX8zuy3Gtj7Yy4FxVJnAqjn/xa hYGAg52TrjWSProcBkpcxY1mpmhtxRaD+PweuBh01FmdkxrNrg2SEswWP 8KEYWORitUhKMDdk2r0qj0FbT3npoKYKB33b4oaL04VY+ztxsenBbwmwE 23pGrENc9F5d4itJzdxe1JG3odVRtHj6nO0S+XPvUd64KstdnPVBx7dBE 7ngZOlQAfKobn6yreosuhR4PePH+WtF3HngGz+kdU8ovXxLcqo2SzI4py ezM2qr12LzuGu4uzzVQOZMMq0wH7OKPE+lGhgNHtHottzYfyifT3D1N1v g==; X-CSE-ConnectionGUID: kPPCOz3mSKizAHZZk97Xhw== X-CSE-MsgGUID: s/iQmppYSICPprGToHltfQ== X-IronPort-AV: E=McAfee;i="6800,10657,11949"; a="1839762" X-IronPort-AV: E=Sophos;i="6.27,183,1787036400"; d="scan'208";a="1839762" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2026 15:14:13 -0700 X-CSE-ConnectionGUID: bTot76MXTrqL7upPlI0thA== X-CSE-MsgGUID: ZKmjVt3TQzClSrc191RMHw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,183,1787036400"; d="scan'208";a="5053514" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 28 Oct 2026 15:14:11 -0700 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xMBuL-00000000ZIa-0xkB; Wed, 28 Oct 2026 22:14:09 +0000 Date: Thu, 29 Oct 2026 06:13:59 +0800 From: kernel test robot To: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH nf,v3] netfilter: nfnetlink_queue: restrict NFQA_EXP to userspace helpers Message-ID: <202610290533.P0h5GHpa-lkp@intel.com> References: <20261022154644.2002766-1-pablo@netfilter.org> X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261022154644.2002766-1-pablo@netfilter.org> Hi Pablo, kernel test robot noticed the following build errors: [auto build test ERROR on netfilter-nf/main] [also build test ERROR on nf-next/main linus/master v7.3 next-20261027] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Pablo-Neira-Ayuso/netfilter-nfnetlink_queue-restrict-NFQA_EXP-to-userspace-helpers/20261022-174644 base: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git main patch link: https://lore.kernel.org/r/20261022154644.2002766-1-pablo%40netfilter.org patch subject: [PATCH nf,v3] netfilter: nfnetlink_queue: restrict NFQA_EXP to userspace helpers config: x86_64-rhel-9.4-func (https://download.01.org/0day-ci/archive/20261029/202610290533.P0h5GHpa-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261029/202610290533.P0h5GHpa-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202610290533.P0h5GHpa-lkp@intel.com/ All errors (new ones prefixed by >>): net/netfilter/nfnetlink_queue.c: In function 'nfqnl_ct_parse': >> net/netfilter/nfnetlink_queue.c:1770:25: error: implicit declaration of function 'nf_queue_hook_entries' [-Wimplicit-function-declaration] 1770 | hooks = nf_queue_hook_entries(entry); | ^~~~~~~~~~~~~~~~~~~~~ >> net/netfilter/nfnetlink_queue.c:1770:23: error: assignment to 'const struct nf_hook_entries *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1770 | hooks = nf_queue_hook_entries(entry); | ^ vim +/nf_queue_hook_entries +1770 net/netfilter/nfnetlink_queue.c 1748 1749 static struct nf_conn *nfqnl_ct_parse(const struct nfnl_ct_hook *nfnl_ct, 1750 const struct nlmsghdr *nlh, 1751 const struct nlattr * const nfqa[], 1752 struct nf_queue_entry *entry, 1753 enum ip_conntrack_info *ctinfo) 1754 { 1755 #if IS_ENABLED(CONFIG_NF_CONNTRACK) 1756 struct nf_conn *ct; 1757 1758 ct = nf_ct_get(entry->skb, ctinfo); 1759 if (ct == NULL) 1760 return NULL; 1761 1762 if (nfnl_ct->parse(nfqa[NFQA_CT], ct) < 0) 1763 return NULL; 1764 1765 if (nfqa[NFQA_EXP]) { 1766 const struct nf_hook_entries *hooks; 1767 struct nf_hook_ops **ops; 1768 unsigned int i; 1769 > 1770 hooks = nf_queue_hook_entries(entry); 1771 if (!hooks) 1772 return NULL; 1773 1774 ops = nf_hook_entries_get_hook_ops(hooks); 1775 if (!ops) 1776 return NULL; 1777 1778 i = entry->hook_index; 1779 if (i >= hooks->num_hook_entries) 1780 return NULL; 1781 1782 if (nfqnl_hook_exp_support(ops[i])) { 1783 nfnl_ct->attach_expect(nfqa[NFQA_EXP], ct, 1784 NETLINK_CB(entry->skb).portid, 1785 nlmsg_report(nlh)); 1786 } 1787 } 1788 return ct; 1789 #else 1790 return NULL; 1791 #endif 1792 } 1793 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki