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

From: Nikolay Aleksandrov <[email-masked]>
Date: Mon, 5 Oct 2015 11:33:42 +0200

On 10/05/2015 11:47 AM, David Miller wrote:
> From: kbuild test robot <[email-masked]>
> 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.