From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34996C43217 for ; Thu, 13 Oct 2022 22:12:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbiJMWMp (ORCPT ); Thu, 13 Oct 2022 18:12:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiJMWMo (ORCPT ); Thu, 13 Oct 2022 18:12:44 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D5FD186D5D; Thu, 13 Oct 2022 15:12:43 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id r17so6824175eja.7; Thu, 13 Oct 2022 15:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=Kgrhco0kQldzs3Uu2M1bGzftZG3g/cAytonD3Skhmc0=; b=oQrsL5dyfANt9QV19N7V3vSTDuaD9UWffacLCE2SxgjyogLMVzOpmVp8e3I6NKw1LI Rd0K4RCA7ryGa5WwP2S0DWd5vB2BZ9Hd3RiRIbjdXhPEyDVETGTSEcBIMPj0yn13sBCO jbIDQEdb/G0whvmiz5O2waMe+x+w3kE2nb8WHGUDi+AaSUILbn+ZIxnYn8lZma9FED01 XHe/ms/2U7LVQOBkUyMS7NtXiSd3wmZ6rJe0TyRGOx1+xLGUJzJ0BeC7ASAFI29cjg21 5t9Au/TofuiA3Pc868f3qRDrD5pdcco22Yqs2y0NrtjHxgGVxcEEMJEVRcki1GDbaPSi 4Vtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Kgrhco0kQldzs3Uu2M1bGzftZG3g/cAytonD3Skhmc0=; b=XK/9ON9VEUZN30tgsDoYfOPS3T0bEiNJNP3Lcx9dNs9IwxgAKzhmFX7XAmdvAo9iwL cLP77PbaFX/i95KwVoto5CBMIVIYoRQIeueNMdo5fHv/7giHMV5WgsKwIKgkz7eJAcZz bVoquATfuYbUX0/FeiNEK+d8aQWlJZvbQz1lKGnAmcAQVVVwhTKqpy8/NJ6ZPEtCN+K/ jUUkBBGpbiMicLknMgjtK7zP9mmz6VgXdyrOlHzllOB4Gsjj239LiJrfbX4mBk3fh2wx BReLO36jt4aT3HO+d/NatdUYzndhvmqJEID6VfVvq04u40/UB5I6Nv4EO0TK85k8SEqV 2nxg== X-Gm-Message-State: ACrzQf1pSBMWhYwbfdIHzaT1vpJyomHQ4wtlPj9mKkhsn6+03F5Jk/Uk ufVB4HSc0q/1MR/QCNjYAJL7sKLhIyE= X-Google-Smtp-Source: AMsMyM7tM8//v9KlxC8cuFvrreRDtSi7ZX3LEQO1/CyW1m5oFOLfPaFhx3LU08/NczIkf5lBu8MJfg== X-Received: by 2002:a17:906:db03:b0:741:337e:3600 with SMTP id xj3-20020a170906db0300b00741337e3600mr1360298ejb.343.1665699161810; Thu, 13 Oct 2022 15:12:41 -0700 (PDT) Received: from krava ([83.240.62.156]) by smtp.gmail.com with ESMTPSA id f6-20020a170906c08600b007813968e154sm489186ejz.86.2022.10.13.15.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 15:12:41 -0700 (PDT) From: Jiri Olsa X-Google-Original-From: Jiri Olsa Date: Fri, 14 Oct 2022 00:12:39 +0200 To: Jakub Kicinski , Andrii Nakryiko Cc: Jiri Olsa , Martin KaFai Lau , bpf@vger.kernel.org, "netdev@vger.kernel.org" Subject: Re: WARN: multiple IDs found for 'nf_conn': 92168, 117897 - using 92168 Message-ID: References: <20221003190545.6b7c7aba@kernel.org> <20221003214941.6f6ea10d@kernel.org> <20221004072522.319cd826@kernel.org> <20221005084442.48cb27f1@kernel.org> <20221005091801.38cc8732@kernel.org> <20221013080517.621b8d83@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221013080517.621b8d83@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Oct 13, 2022 at 08:05:17AM -0700, Jakub Kicinski wrote: > On Wed, 5 Oct 2022 22:07:57 +0200 Jiri Olsa wrote: > > > Yeah, it's there on linux-next, too. > > > > > > Let me grab a fresh VM and try there. Maybe it's my system. Somehow. > > > > ok, I will look around what's the way to install that centos 8 thing > > Any luck? now BTFIDS warnings.. I can see following on centos8 with gcc 8.5: BTFIDS vmlinux WARN: multiple IDs found for 'task_struct': 300, 56614 - using 300 WARN: multiple IDs found for 'file': 540, 56649 - using 540 WARN: multiple IDs found for 'vm_area_struct': 549, 56652 - using 549 WARN: multiple IDs found for 'seq_file': 953, 56690 - using 953 WARN: multiple IDs found for 'inode': 1132, 56966 - using 1132 WARN: multiple IDs found for 'path': 1164, 56995 - using 1164 WARN: multiple IDs found for 'task_struct': 300, 61905 - using 300 WARN: multiple IDs found for 'file': 540, 61943 - using 540 WARN: multiple IDs found for 'vm_area_struct': 549, 61946 - using 549 WARN: multiple IDs found for 'inode': 1132, 62029 - using 1132 WARN: multiple IDs found for 'path': 1164, 62058 - using 1164 WARN: multiple IDs found for 'cgroup': 1190, 62067 - using 1190 WARN: multiple IDs found for 'seq_file': 953, 62253 - using 953 WARN: multiple IDs found for 'sock': 7960, 62374 - using 7960 WARN: multiple IDs found for 'sk_buff': 1876, 62485 - using 1876 WARN: multiple IDs found for 'bpf_prog': 6094, 62542 - using 6094 WARN: multiple IDs found for 'socket': 7993, 62545 - using 7993 WARN: multiple IDs found for 'xdp_buff': 6191, 62836 - using 6191 WARN: multiple IDs found for 'sock_common': 8164, 63152 - using 8164 WARN: multiple IDs found for 'request_sock': 17296, 63204 - using 17296 WARN: multiple IDs found for 'inet_request_sock': 36292, 63222 - using 36292 WARN: multiple IDs found for 'inet_sock': 32700, 63225 - using 32700 WARN: multiple IDs found for 'inet_connection_sock': 33944, 63240 - using 33944 WARN: multiple IDs found for 'tcp_request_sock': 36299, 63260 - using 36299 WARN: multiple IDs found for 'tcp_sock': 33969, 63264 - using 33969 WARN: multiple IDs found for 'bpf_map': 6623, 63343 - using 6623 I'll need to check on that.. and I just actually saw the 'nf_conn' warning on linux-next/master with latest fedora/gcc-12: BTF [M] net/netfilter/nf_nat.ko WARN: multiple IDs found for 'nf_conn': 106518, 120156 - using 106518 WARN: multiple IDs found for 'nf_conn': 106518, 121853 - using 106518 WARN: multiple IDs found for 'nf_conn': 106518, 123126 - using 106518 WARN: multiple IDs found for 'nf_conn': 106518, 124537 - using 106518 WARN: multiple IDs found for 'nf_conn': 106518, 126442 - using 106518 WARN: multiple IDs found for 'nf_conn': 106518, 128256 - using 106518 LD [M] net/netfilter/nf_nat_tftp.ko looks like maybe dedup missed this struct for some reason nf_conn dump from module: [120155] PTR '(anon)' type_id=120156 [120156] STRUCT 'nf_conn' size=320 vlen=14 'ct_general' type_id=105882 bits_offset=0 'lock' type_id=180 bits_offset=64 'timeout' type_id=113 bits_offset=640 'zone' type_id=106520 bits_offset=672 'tuplehash' type_id=106533 bits_offset=704 'status' type_id=1 bits_offset=1600 'ct_net' type_id=3215 bits_offset=1664 'nat_bysource' type_id=139 bits_offset=1728 '__nfct_init_offset' type_id=949 bits_offset=1856 'master' type_id=120155 bits_offset=1856 'mark' type_id=106351 bits_offset=1920 'secmark' type_id=106351 bits_offset=1952 'ext' type_id=106536 bits_offset=1984 'proto' type_id=106532 bits_offset=2048 nf_conn dump from vmlinux: [106517] PTR '(anon)' type_id=106518 [106518] STRUCT 'nf_conn' size=320 vlen=14 'ct_general' type_id=105882 bits_offset=0 'lock' type_id=180 bits_offset=64 'timeout' type_id=113 bits_offset=640 'zone' type_id=106520 bits_offset=672 'tuplehash' type_id=106533 bits_offset=704 'status' type_id=1 bits_offset=1600 'ct_net' type_id=3215 bits_offset=1664 'nat_bysource' type_id=139 bits_offset=1728 '__nfct_init_offset' type_id=949 bits_offset=1856 'master' type_id=106517 bits_offset=1856 'mark' type_id=106351 bits_offset=1920 'secmark' type_id=106351 bits_offset=1952 'ext' type_id=106536 bits_offset=1984 'proto' type_id=106532 bits_offset=2048 look identical.. Andrii, any idea? thanks, jirka