Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp244781rdd; Tue, 9 Jan 2024 02:51:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGY+YGKglGTT553DRVkgocoUe2heQHSN2qESkxudXrqoIUURphGYld+RdN7Qx+aBD/j/bG0 X-Received: by 2002:a17:90a:d56:b0:28b:7563:a6cd with SMTP id 22-20020a17090a0d5600b0028b7563a6cdmr2189127pju.83.1704797487155; Tue, 09 Jan 2024 02:51:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704797487; cv=none; d=google.com; s=arc-20160816; b=k+DF8RhoqKoHivtZYRvcunrQiwkQZX7TXQAOnHLSUXFeBONPLhaBfzfUC9s9ASLDaD uyv7XvapgG0bU7fReKg2NfjZ3gJbu/p07mLBpeCmd6vsnVhQbAx8eCFHWj1KpmmQEFwU lJ0Jm9h+6/QCOLoHKxEV8p66XDO01PS8skqFghcZu9HVYPi03jqdydYXFKbiYraCijTE n2ir9aZUv7CeV6/VmuYfJq9bXAyvres0b3oF707a30s81wWb1f6vy2QNkaIx3I0XyiFA U/sGOoiBrBkX/LGjMigkfQ3WXb7XCtHyy2mwkJGfleAVbLktP7IZb0sc5PEYyyiWZpU5 HH4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xXl+u5XmVClDzXTL+p7T+59/n2sP1Gy7cH46N1I8oe0=; fh=D4PgcQGqX2bQ+odQbLOaHh6kZgw902Ig6Rxi3CBhZdM=; b=JcWl30+PWkIE5a82v0k8Cz56Zwmd6iEhYB5vGIGisouwEStpUu3eL+1bvFm0yjZE/m lzuCU0vU5/RZ6q9+2wVvmc1aKPjp4/cnIN2j9ndGGuv6oUrYNeg+mUJ2/S4gwPlPUE5r EzgIfIVomc4CNk0AXOz/gFl/9APFJgEZEf4OK2i174UxbMRgVn/iC9vygiKGS4sYj1hz g1Yna0vO2AufjN+z80DXjJnUPQpL/dkhKYrYII1AtSNhTFt9r/5KYzDPs4U9tceHu7sj QP1cz1+vtftIAnusvVMoP0vaZbP93QYwdAXCYDWnTVgnvuFSs695VkvKXN/QCZbIUY7z Q4QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Colw2L6a; spf=pass (google.com: domain of linux-kernel+bounces-20725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v18-20020a17090ac91200b0028d4f90399esi3934654pjt.135.2024.01.09.02.51.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 02:51:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Colw2L6a; spf=pass (google.com: domain of linux-kernel+bounces-20725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CE4CE287C02 for ; Tue, 9 Jan 2024 10:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A21436AE5; Tue, 9 Jan 2024 10:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Colw2L6a" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDC43364C7; Tue, 9 Jan 2024 10:51:14 +0000 (UTC) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704797475; x=1736333475; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mXOSSuAjwBLaV6zTRVR/QPtxRIbaWBuscnFSWVgkFJY=; b=Colw2L6a+AHLHJ1urFv29g3KnPDHtXHm/9nnCtBDNZX/8hTuXURsg5Ri 7Pbg4LPmRuQF+OgGR0Mt/SFBpO1FXu/Jyp8x+yIjTKChVJIMujhUsg/gm Zyi+rpbC8Uw7RhHeGEbTmJhr83A39yA/8lw6dDFy/793hH6T97WgZEuuG EqjIYKVuBjjBFp70noBE5+7x08OSpvbjnbY8llPblpHSuGSTMfCd7RTZ1 evF8rD5p+3Z5koTSKWv4OI5iu5OE8Jm8bbIIdL5sAT3XRHA3vFiyrtCAk 1d/22lEdryHC4a1DGHuzR3ZJW06B7EK79ceQpSsRAlpPyNWrSHuJqyzln Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="16749605" X-IronPort-AV: E=Sophos;i="6.04,182,1695711600"; d="scan'208";a="16749605" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2024 02:51:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="954975301" X-IronPort-AV: E=Sophos;i="6.04,182,1695711600"; d="scan'208";a="954975301" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 09 Jan 2024 02:51:11 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rN9hM-0005kg-2G; Tue, 09 Jan 2024 10:51:08 +0000 Date: Tue, 9 Jan 2024 18:50:31 +0800 From: kernel test robot To: Pavel Tikhomirov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@openvz.org, Pavel Tikhomirov Subject: Re: [PATCH] neighbour: purge nf_bridged skb from foreign device neigh Message-ID: <202401091858.8boOfnEz-lkp@intel.com> References: <20240108085232.95437-1-ptikhomirov@virtuozzo.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240108085232.95437-1-ptikhomirov@virtuozzo.com> Hi Pavel, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] [also build test ERROR on net/main linus/master horms-ipvs/master v6.7 next-20240109] [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/Pavel-Tikhomirov/neighbour-purge-nf_bridged-skb-from-foreign-device-neigh/20240108-165551 base: net-next/main patch link: https://lore.kernel.org/r/20240108085232.95437-1-ptikhomirov%40virtuozzo.com patch subject: [PATCH] neighbour: purge nf_bridged skb from foreign device neigh config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20240109/202401091858.8boOfnEz-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240109/202401091858.8boOfnEz-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/202401091858.8boOfnEz-lkp@intel.com/ All errors (new ones prefixed by >>): net/core/neighbour.c: In function 'neigh_purge_nf_bridge_dev': >> net/core/neighbour.c:392:29: error: implicit declaration of function 'nf_bridge_info_get' [-Werror=implicit-function-declaration] 392 | nf_bridge = nf_bridge_info_get(skb); | ^~~~~~~~~~~~~~~~~~ net/core/neighbour.c:392:27: warning: assignment to 'struct nf_bridge_info *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 392 | nf_bridge = nf_bridge_info_get(skb); | ^ >> net/core/neighbour.c:395:43: error: invalid use of undefined type 'struct nf_bridge_info' 395 | if (nf_bridge && nf_bridge->physindev == dev) { | ^~ cc1: some warnings being treated as errors vim +/nf_bridge_info_get +392 net/core/neighbour.c 382 383 static void neigh_purge_nf_bridge_dev(struct neighbour *neigh, struct net_device *dev) 384 { 385 struct sk_buff_head *list = &neigh->arp_queue; 386 struct nf_bridge_info *nf_bridge; 387 struct sk_buff *skb, *next; 388 389 write_lock(&neigh->lock); 390 skb = skb_peek(list); 391 while (skb) { > 392 nf_bridge = nf_bridge_info_get(skb); 393 394 next = skb_peek_next(skb, list); > 395 if (nf_bridge && nf_bridge->physindev == dev) { 396 __skb_unlink(skb, list); 397 neigh->arp_queue_len_bytes -= skb->truesize; 398 kfree_skb(skb); 399 } 400 skb = next; 401 } 402 write_unlock(&neigh->lock); 403 } 404 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki