From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolay Aleksandrov Subject: Re: [net-next:master 630/633] net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes is larger than 2048 bytes Date: Mon, 5 Oct 2015 11:43:08 +0200 Message-ID: <5612462C.9020401@cumulusnetworks.com> References: <201510051053.L0S9UKIW%fengguang.wu@intel.com> <20151005.024717.1982719584385972843.davem@davemloft.net> <561243F6.1060009@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: kbuild-all@01.org, netdev@vger.kernel.org To: David Miller , fengguang.wu@intel.com Return-path: Received: from mail-wi0-f178.google.com ([209.85.212.178]:38380 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752007AbbJEJnL (ORCPT ); Mon, 5 Oct 2015 05:43:11 -0400 Received: by wiclk2 with SMTP id lk2so106058076wic.1 for ; Mon, 05 Oct 2015 02:43:10 -0700 (PDT) In-Reply-To: <561243F6.1060009@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: On 10/05/2015 11:33 AM, Nikolay Aleksandrov wrote: > On 10/05/2015 11:47 AM, David Miller wrote: >> From: kbuild test robot >> Date: Mon, 5 Oct 2015 10:42:54 +0800 >> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master >>> head: 3e087caa23ef36370bfb925d3bbca78e8302d3ce >>> commit: 7e4df51eb35deedd3ba8d4db92a6c36fb7eff90a [630/633] bridge: netlink: add support for igmp's intervals >>> config: x86_64-randconfig-s0-10051005 (attached as .config) >>> reproduce: >>> git checkout 7e4df51eb35deedd3ba8d4db92a6c36fb7eff90a >>> # save the attached .config to linux build tree >>> make ARCH=x86_64 >>> >>> All warnings (new ones prefixed by >>): >>> >>> net/bridge/br_netlink.c: In function 'br_fill_info': >>>>> net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=] >>> } >> >> Nikolay, please look into this. >> > > I am, this looks like to be caused by enabling KASAN (kernel address sanitizer), there's > a lot of additional code generated and the frame grows bigger. > The same thing is being discussed here: > http://www.spinics.net/lists/linux-media/msg93925.html > > The real size is much smaller without kasan. > I'm not sure how to proceed, would you like me to shrink the frame size so it's less than 2160 bytes with KASAN enabled ? It's 216 (without kasan) bytes vs 2160 (with). Thanks, Nik