Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4406819ybx; Sat, 9 Nov 2019 15:07:27 -0800 (PST) X-Google-Smtp-Source: APXvYqy9gmMsHT4ZgUwdDMwODVBzlq82r/01OgyzDZVC4AtkiEn91FjzgdXjUZqOkNZe+qtzHnH8 X-Received: by 2002:a50:b262:: with SMTP id o89mr17903049edd.170.1573340847697; Sat, 09 Nov 2019 15:07:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573340847; cv=none; d=google.com; s=arc-20160816; b=zvFAJzPSrOjbEqgQBjq+K0FvqfJUi2fOVwa0s0eU/zA/IK0397JtcNy9+oLf73W63i DCw6oRUMEoUnKj4fMne2wslUTsmrCfElOZ7Ss7cKSLFOpE1ozNBqN07uYDcM8AJRApnq EOy3jX4DL6PWgrKPgHu0Xe57vuA6NLih27PwFalwodzfSugMvvkLi9Y7COrVcx6aDakV fhXFxC6wxeT2amFyUCM19YkvGysK9w90h4SyUeaT0XlHmuWbSw5Rpr5a36mEJ+ciOZYY im47Xi+LPoPgwajOwUralEOlYGGf0mCU9Tw20D/tT5aZ5bJlBg5eWNb0hOJwbx+XdkBU TJ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=dirWlcLXMWe4DBJFlhecKvrzQebSxo/FvEC+4dhxwKo=; b=Gol+buQqb9NPgTmUsbkrcpza+iompt5sqIc4jrVGTUfKzjOWjZob1XXsUOhO/1xszL E8sGBB6D7cQKkmwhow43IipPgtuwJ4G0uhNM26RjorrG3LtcV1WsuWXSeDai9SBkwyXz UVA4mp1jH8sC8yO2mTmF/cgCA5SGQE2AOjJ96l2HxzW4d/uSENUsjd21dDtLf+ne7RZk M4qrgfTwTiWGObZL4BBrQJjE7JjfaFBDwK3BUOMcnle0OsXJRuTYcNqJgchjmCihBwVw mOGrWm0GpubZnMPG4fFYegdlV11HZBY2zldN5o8fy7B8QpWTo9cPBoq7upJLCVxxZWuL KHzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=MUH40SXX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17si7180171edc.384.2019.11.09.15.07.04; Sat, 09 Nov 2019 15:07:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=MUH40SXX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbfKIXFa (ORCPT + 99 others); Sat, 9 Nov 2019 18:05:30 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39284 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbfKIXFa (ORCPT ); Sat, 9 Nov 2019 18:05:30 -0500 Received: by mail-pf1-f194.google.com with SMTP id x28so7577661pfo.6 for ; Sat, 09 Nov 2019 15:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rajagiritech-edu-in.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=dirWlcLXMWe4DBJFlhecKvrzQebSxo/FvEC+4dhxwKo=; b=MUH40SXXiPqYO6J2DJEs7PwCT3R9HKOCxq1wGj4LxBXEYM2tJsthus8hybdFVP2N4s JrZhtBYV8v3Yrxp2Xz0307K4Dvn6rwC+LNd6PqSi/ly55v/rXnhwZ5FvUS7+MLFAlTBu fIOiXEYyXjNk46oW3WH12DzNfYusV/J7tc7kVSfRrJjvX02+5hQ7f/zd6eFQ38hEqkH/ NHhOqOxBAcq/eEqIkUwO9w6v0nL12nDN7B6V2G+Rc2em6jAtDipPEWZPKBFjgN8oZMrl rjn1sDa5d0ZbDtulAff0lT5anwAgnfPDUWL3+QMXWQFHJH3auzM8ajqkANw6Eld2ySVO vMdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=dirWlcLXMWe4DBJFlhecKvrzQebSxo/FvEC+4dhxwKo=; b=Znu9O8bH2qux8zQ6xMdSrGjDjPAkvj8Rt5VVUcQ9EftUXcdHYo8oxDqyWPyIFOS+bV Bxc/2IFRmpvyUnEDnjT3iqRY2lv4tPGrxqVny3pKU412uGKF6zy2/Xt85fujgncc3lm/ 30qs6Yqsj5lEd1vjzePKSC+P+8iQdxLYqdmueZtCZpgOidR2VcfNlURkvAVA4+pY2YlI ICQF7W0W0slF3/Ycn9DM2PzI/gxxDXpAeZrVNqvTMYyGBK5SofBxPHPhLwKqnxcruf67 LyfcKypJm5moPbagUTTDOUiRZKQq9GyvJaPT1yulSkfUXGWbE7o1WOcJngPNKZ96bzZO gCmw== X-Gm-Message-State: APjAAAUgxxnIlNuB4fqmMh6YYaSIi7dAqAJEYFOs/miPjIZULJx+rGoP P2DdvMFo9MFizfB/4QwY42EuMQ== X-Received: by 2002:a63:644:: with SMTP id 65mr12050858pgg.306.1573340728005; Sat, 09 Nov 2019 15:05:28 -0800 (PST) Received: from debian ([122.174.231.44]) by smtp.gmail.com with ESMTPSA id i123sm16325565pfe.145.2019.11.09.15.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2019 15:05:27 -0800 (PST) Date: Sun, 10 Nov 2019 04:35:20 +0530 From: Jeffrin Jose To: davem@davemloft.net, willemb@google.com, xiyou.wangcong@gmail.com, fw@strlen.de, jakub.kicinski@netronome.com, john.hurley@netronome.com, pabeni@redhat.com, brouer@redhat.com, bigeasy@linutronix.de, jonathan.lemon@gmail.com, edumazet@google.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: objtool: skb_push.cold()+0x15: unreachable instruction Message-ID: <20191109230520.GA22258@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hello, i got a warning during kernel compilation. net/core/skbuff.o: warning: objtool: skb_push.cold()+0x15: unreachable instruction related clips... --------------------x----------------x--------------------- (gdb) l skb_push.cold 1880 void *skb_push(struct sk_buff *skb, unsigned int len) 1881 { 1882 skb->data -= len; 1883 skb->len += len; 1884 if (unlikely(skb->data < skb->head)) 1885 skb_under_panic(skb, len, __builtin_return_address(0)); 1886 return skb->data; 1887 } 1888 EXPORT_SYMBOL(skb_push); 1889 (gdb) l *0xffffffff815ffc8e 0xffffffff815ffc8e is in skb_push (net/core/skbuff.c:1885). 1880 void *skb_push(struct sk_buff *skb, unsigned int len) 1881 { 1882 skb->data -= len; 1883 skb->len += len; 1884 if (unlikely(skb->data < skb->head)) 1885 skb_under_panic(skb, len, __builtin_return_address(0)); 1886 return skb->data; 1887 } 1888 EXPORT_SYMBOL(skb_push); 1889 (gdb) ------------------x-----------------------x------------------------------------ $uname -a Linux debian 5.4.0-rc1+ #1 SMP Sat Nov 9 21:29:48 IST 2019 x86_64 GNU/Linux $ this kernel is from linux-kselftest tree ---------------------------x-------------x------------------------------ $gcc --version gcc (Debian 9.2.1-14) 9.2.1 20191025 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -------------------------x-------------------x----------------------------- Linux debian 5.4.0-rc1+ #1 SMP Sat Nov 9 21:29:48 IST 2019 x86_64 GNU/Linux GNU Make 4.2.1 Binutils 2.33.1 Util-linux 2.33.1 Mount 2.33.1 Linux C Library 2.29 Dynamic linker (ldd) 2.29 Procps 3.3.15 Kbd 2.0.4 Console-tools 2.0.4 Sh-utils 8.30 Udev 241 -------------------------------x-----------------x---------------------------- -- software engineer rajagiri school of engineering and technology